I've used the disableInlineStyle prop and then my own set of callbacks to add and remove props (and hence styles through data-hidden=true).
This means I've been able to implement a 'pinned' state via a separate button. Unfortunately, when I unpin, I need to scroll up then down before headroom retriggers the unpin callback.
It would be great to have a way to manually 'reset' Headroom.
I've used the
disableInlineStyleprop and then my own set of callbacks to add and remove props (and hence styles throughdata-hidden=true).This means I've been able to implement a 'pinned' state via a separate button. Unfortunately, when I unpin, I need to scroll up then down before headroom retriggers the
unpincallback.It would be great to have a way to manually 'reset' Headroom.