Skip to content

Conversation

@xaviergonz
Copy link
Contributor

@xaviergonz xaviergonz commented Apr 30, 2020

In IOS we found that the focus of an element would scroll the page so such element is brought into view.

In our case we have a grid of several views (iframes) and whenever a modal would appear on one of those views then the whole app would scroll to show the cell were the modal appeared, which is undesireable.

This PR fixes that.

xaviergonz and others added 2 commits April 30, 2020 12:02
In IOS we found that the focus of an element would scroll the page so such element is brought into view.

In our case we have a grid of several views (iframes) and whenever a modal would appear on one of those views then the whole app would scroll to show the cell were the modal appeared, which is undesireable.

This PR fixes that.
@xaviergonz xaviergonz changed the title ensure focus does not scroll the modal [fixed] - Ensure focus does not scroll the modal Apr 30, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.135% when pulling 12b992d on xaviergonz:patch-1 into 5189e5b on reactjs:master.

@diasbruno
Copy link
Collaborator

Thanks, @xaviergonz.
I'll merge this later. Ping me if I forget. :)

@diasbruno diasbruno merged commit 4a120a9 into reactjs:master Apr 30, 2020
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