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

material_dropdown on iOS: Touching an element selects the wrong element #128

Open
Seyphaton opened this issue Oct 30, 2020 · 3 comments
Open

Comments

@Seyphaton
Copy link

Hi all,

on iOS (13 and 14)/webkit: If you select an element in the material dropdown list, another element gets selected.
I don't own a Mac to debug the issue.

On chromium (windows, android) everything works fine.

Thank for your help!

@Seyphaton
Copy link
Author

Obviously an issue of materialize css: Dogfalo/materialize#6464
The main problem seems to be that the materialize css project is kind of dead

I fixed this specific issue by simply adding "browser-default" to the select input and hiding the materialize components (on ios only)

@BWeeks101
Copy link

I have found that an alternative to using .browser-default is to apply the following:

.select-wrapper * { transition: none !important; transform: none !important; }

@Seyphaton
Copy link
Author

Nice workaround @BWeeks101 for Macs/iPads - for iPhones I prefer the "browser-default" selection.

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

2 participants