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

Render buttons after on layout #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nadav2051
Copy link

This new prop delays the rendering of the buttons until an OnLayout call has been dispatched, giving us the width of the overlay component.

This was done to fix a scenario where the buttons would show while rendering an heavy overlay item that does not span the entire screen width.

This caused a glitchy feeling of seeing the button for a sec and then having it disappear.

@Mluna97
Copy link

Mluna97 commented Nov 5, 2020

I need this upgrade, please!!

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

Successfully merging this pull request may close these issues.

3 participants