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

doesn't handle resize on FF #1

Open
tttp opened this issue Feb 11, 2020 · 3 comments
Open

doesn't handle resize on FF #1

tttp opened this issue Feb 11, 2020 · 3 comments

Comments

@tttp
Copy link

tttp commented Feb 11, 2020

Hi,

It works fine on the initial load, but if I resize the width of the window, it doesn't re-calculate the variable.

Is this intended and a limitation on Firefox?

Is there a debug mode to see what is triggered and when?

@Merri
Copy link
Owner

Merri commented Feb 12, 2020

I don't see a problem when using Firefox on CodeSandbox.

Are you able to produce a reproduceable issue?

@mark-cameron
Copy link

I am also getting this error. It seems that the reason it works on CodeSandbox is that it is using some sort of virtual browser not firefox. I haven't manged to reproduce this on any web based sandbox but using storybook and within an app it definitely seems broken when viewed on firefox and fine via chrome.

@Merri
Copy link
Owner

Merri commented Sep 28, 2020

Made a CodePen with UMD imports to reproduce the issue:

https://codepen.io/Merri/pen/KKzYGzd

It is midnight for me so I'm not gonna put more work into figuring this one out right now. I try to find time to figure out what CodeSandbox does that allows Firefox to work.

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

3 participants