-
Notifications
You must be signed in to change notification settings - Fork 440
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
Focus inputs when Mobiscroll is active #446
Comments
Thanks for the suggestion!
We might consider to make this built in, if it helps. |
I use the
:focus-within
CSS selector to style the container for a specific input.https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-withinThis allows me to style the input, it's label and any other elements when they are in a focussed state.
This works well for normal inputs, however it seems that Mobiscroll doesn't properly handle this...
Expected behaviour (based on usual
input
&select
behaviour`:focus-within
CSS styling applied:focus-within
is still appliedCurrent incorrect behaviour:
:focus-within
CSS styling applied:focus-within
is appliedI'll be able to upload some videos which show correct and incorrect behaviour later
The text was updated successfully, but these errors were encountered: