-
Notifications
You must be signed in to change notification settings - Fork 2
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
Version 0.0.9 and 0.0.10 error with: Added non-passive event listener to a scroll-blocking 'touchstart' event. #11
Comments
Hi, thanks for the report! Unfortunately I can't reproduce the issue, so it's difficult for me to pin this down. Are you also running into the bug on the demo page? Could you share a reproduction example that I could take a look at? Bear in mind that this library is essentially a Svelte wrapper for Micromodal, so it doesn't really handle any of the events itself. The Chrome console warnings also may or may not be unrelated.1 Footnotes
|
I use Svelte 5. I am not sure how to reproduce code with external libs like micromodal in the Svelte 5 playground. |
The only client-side change between the two versions is this one: #8 What it does is basically upgrade micromodal from v0.4.8 to v0.4.10 (to fix upstream bugs), but to do this we had to work around a regression in v0.4.9 (which I reported upstream in ghosh/Micromodal#490). Can you spot anything in there that might cause the issue? Again, I'd be happy to help debug, but that's difficult without a reproduction. What did you mean by "it stopped working"? Does your modal not open at all after the upgrade? |
0.4.10 merges: The modal for me does not work at all, it becomes grey and unresponsive. |
Have to tested it to check that this actually solves the issue? Like I said earlier, looking at reports upstream I'm not sure that the Chrome console warning and the unresponsive modal are related. If this is the problem, we could look at how to solve it without introducing the other bugs that I understand if you don't want to spend more time on this though. Would love to help more but it's hard for me to do anything without a possibility to reproduce. If you're happy with the status quo, feel free to close this issue! |
Thank you, I close it for now. |
Version 0.0.8 works without issue, if I update to 0.0.9 or 0.0.10 the modal stops working and in the Chrome console I get the error:
Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952"
The text was updated successfully, but these errors were encountered: