Skip to content

Render buttons after on layout#103

Open
nadav2051 wants to merge 2 commits intojshanson7:masterfrom
nadav2051:render-buttons-after-on-layout
Open

Render buttons after on layout#103
nadav2051 wants to merge 2 commits intojshanson7:masterfrom
nadav2051:render-buttons-after-on-layout

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