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

smoothscroll no working when added @media query to document #147

Open
erovas opened this issue Dec 9, 2019 · 1 comment
Open

smoothscroll no working when added @media query to document #147

erovas opened this issue Dec 9, 2019 · 1 comment

Comments

@erovas
Copy link

erovas commented Dec 9, 2019

Hi everyone.

The polyfill no working when I added @media query (CSS) to HTML document (dont matter if into <style></style> or tag, the problem persist),
if I remove @media query of document the polyfill working perfectly.

why happen this it?

Microsoft Edge 44.18362.449.0
Microsoft EdgeHTML 18.18362

PSDT: I'm sorry for my english

@jeremenichelli
Copy link
Collaborator

Hi @Imanol91, thanks for submitting the issue. It's really hard to guess where the issue could be coming from or if it's even a bug from this polyfill.

Can you try to reproduce this bug in a reduced test case? (An HTML file, with the media query that is triggering the issue for you and the polyfill should be enough.)

You can share it as a snippet here or use some sandbox free utility like codepen.io or codesandbox.io and share the link, this will help us test and see how we can solve it and isolating the library will also help us see if there's no other library or code actually causing the issue.

Thanks!

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