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

safari: changing grid-item position to fixed on browser resize not supported #53

Open
clshortfuse opened this issue Mar 22, 2019 · 1 comment

Comments

@clshortfuse
Copy link

I made a codepen to show the issue.

https://codepen.io/shortfuse/pen/pYqLbQ

On Safari, if a grid-item gains position:fixed on browser resize, then it gets "stuck" on the screen.

@clshortfuse
Copy link
Author

The only "workaround" is found is changing display to force Safari to recalculate the layer on resize. Essentially, when you change position:fixed, you have to change display as well. For my use cases, I can easily switch between display:block and display:flex without issue, but that's not a global solution.

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

1 participant