Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sticky_kit:recalc - focus bug #59

Open
GGKenChi opened this issue Jun 25, 2014 · 3 comments
Open

sticky_kit:recalc - focus bug #59

GGKenChi opened this issue Jun 25, 2014 · 3 comments

Comments

@GGKenChi
Copy link

trigger("sticky_kit:recalc") -> textarea loses focus*

*(textarea auto height)

@GGKenChi
Copy link
Author

elm.insertAfter(spacer).css({
position: "",
top: "",
width: "",
bottom: ""
}).removeClass(sticky_class)

change:

elm.after(spacer).css({
position: "",
top: "",
width: "",
bottom: ""
}).removeClass(sticky_class)

textarea not lose focus, but not tested all events

@kweij
Copy link

kweij commented May 26, 2015

I also run into issues that are caused by elements losing focus. elements on iOS + Safari start to behave terribly when lossing focus, hiding the options list immediately after opening. So I need to work around this problem. Could the plugin be modified to not blur elements? Thanks in advance!

@generatepress
Copy link

I ran into this issue as well on android with an input in the sticky element.

I just disabled the auto spacer and added my own - seems to have fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants