-
Notifications
You must be signed in to change notification settings - Fork 361
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
iOS/iPadOS not showing dropdown #125
Comments
We found in dd.min.js that there's a customElements definition that's looking for Apple/iOS in the navigator. With the current iOS version and the current code there, it'll always return false and not add that customElement. customElements.define("ms-dropdown", i, { This yielded no change, the dropdown is still completely missing on iOS Chrome/Safari. It appears that the attribute "is" isn't compatible with Internet Explorer (just tested our page on it and it returns a basic dropdown, no ms-dropdown changes present), Safari, or Safari on iOS (no mention of Chrome on iOS, but that failed as well): There's a bug reported, with a user noting a response from Apple that they will not be implementing the "is" attribute. I'm not enough of a web developer to understand any of the alternatives proposed in those cases. Just figured I'd share what we found. |
@jpetersonWSDA Thank you for highlighting it. Let me check and update you. |
Would be amazing to get this working on IOS, i haven't found anything even close! |
Just found one of your jsfiddles which doesn't use the is="ms-dropdown" and all is good in the world again.... very nice, thanks :) |
@JediStu great :) |
@JediStu would you mind linking the jsfiddle that you found that works? I can't seem to find it on my own. |
@jpetersonWSDA , no worries this is what i used (thanks @marghoobsuleman) : https://jsfiddle.net/marghoobsuleman/no7bkvsa/1/ Would love to say i understand this stuff but im VERY new to it :) |
I tried to fix my problem with IOS using the ideas from above, but I guess I am not doing it correctly. Any clarifications on this? I tried putting the 2 Javascript lines from the link above near the top of dd.js, removed the "is=" part in my select and added id="tech" and it just broke it. So clearly I am not understanding something. |
I fixed it. Here is what I did:
|
We've got multiple dropdowns on a single webpage, with one being a v4.0.3 image dropdown. They all work fine on desktop browsers. They all work fine on Android.
But in iOS/iPadOS, the dropdown does not show up at all, whether in Safari or in Chrome. There isn't any indication that there's a dropdown at all.
The text was updated successfully, but these errors were encountered: