-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Ripple effect breaks buttons on iOS 13 #5281
Comments
I can confirm that. The same problem I have in an app with the WebView component on iOS 13. |
I understand you're seeing a problem in an existing application after testing on the latest iOS release. MDL is no longer maintained. Please update your systems as you can to Material Components for Web. Since this was seemingly working in all previous versions of iOS, it would appear that this is a bug introduced by a change in WebKit. That should probably be reported to them so they can triage if they broke something unexpectedly. Thank you. |
Having the same issue. Reported this issue on WebKit BugZilla. Seems others are having related issues. |
@et-nat1995 Can you post a link to the issue you reported on WebKit BugZilla. If anyone finds a workaround, please post it. I would think this iOS issue would affect more than just mdl, but I'm having a hard time finding others talking about the issue. |
I think this is the bug report: https://bugs.webkit.org/show_bug.cgi?id=202802 |
@jscadden I am experiencing a related issue in our hybrid native app. Only on certain |
@chriscorns Yeah that is it. I pretty much had to remove all places I was using the ripple effect. |
Experiencing this issue too. Thanks @chriscorns for the codepen, looks good enough. I've just removed the ripple module to get around this issue for now but a solution would be great. |
Same issue here. Im removing all |
For my OpenHAB installation, I have developed a work-around for this problem, which is coming from the "mdl-ripple" style. In this style there are two entries (among others)
which iOS 13 doesn't like. However, if you reverse the two, there is no visual difference (opacity of 0% and transparent background are actually both transparent), but the buttons work again on iOS 13:
Maybe this is also helpful for others using MDL. |
hi @tom-kaltofen , I already test your workaround, buttons work but styles for tabs and buttons got damaged. |
@iojancode That's strange, in OpenHAB there is no visual difference (in iOS and also on Windows). Maybe OpenHAB is using MDL in a different way. How does it look if you use a very small value for opacity and don't change the background, e.g.
or even a smaller value? |
I can confirm this happens on: http://www.mushroom-man.com/signup This only started to happen when I upgraded my iPhone 8+ from iOS 12.x to iOS 13.x |
You sir, are a genius! This worked for me... |
Now it works!!! thank you |
Genius! this worked for me, thank you! |
What is these links used for. |
|
Bug
iOS 13 was released 2 days ago. Here is an issue that I found, which did not happen with the previous iOS version.
1.3.0
Safari (most current version)
iOS 13
Try it with the following html:
plunker
mobile friendly punker
The alert for "onclick" should always trigger when I tap the button.
When using the classes mdl-js-button mdl-js-ripple-effect the onclick does not trigger reliably.
Once the click on the ripple button worked, repeated clicks will also work.
You need to click somewhere else to reproduce the problem again.
It seems this problem gets more prominent, when the page where the button is used is more resource intensive. In my app it takes like 5-10 taps to trigger the button.
The text was updated successfully, but these errors were encountered: