Skip to content

Conversation

@robintown
Copy link
Member

@robintown robintown commented Nov 3, 2022

Because useMeasure always returns a width and height of zero on the first render, various call UI elements would flash in and out of existence or animate in from the wrong place when joining a call. This poses an accessibility issue, and is generally unpleasant.

Closes #569

Before

before.mp4

After

after.mp4

Because useMeasure always returns a width and height of zero on the first render, various call UI elements would flash in and out of existence or animate in from the wrong place when joining a call. This poses an accessibility issue, and is generally unpleasant.
@robintown robintown merged commit 02e1d60 into element-hq:main Nov 3, 2022
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.

The first video tile in every call vwooshes in from a corner, rather than the center

2 participants