Skip to content

Read dimensions from the DOM only once per frame #6

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

Merged
merged 1 commit into from
Apr 15, 2015
Merged

Read dimensions from the DOM only once per frame #6

merged 1 commit into from
Apr 15, 2015

Conversation

ahutchings
Copy link
Contributor

Previously checkTriggers() read the dimensions from the DOM, and then dimensions were read again in order to get the values to pass to the onResize callback.

Previously checkTriggers() read the dimensions from the DOM, and then dimensions were read again in order to get the values to pass to the onResize callback.
@nrako nrako merged commit 034ebcd into nrako:master Apr 15, 2015
@ahutchings ahutchings deleted the read-dimensions-once branch April 15, 2015 21:11
denis-bunakalya pushed a commit to SpirentOrion/orion-react-component-resizable that referenced this pull request Mar 29, 2022
denis-bunakalya pushed a commit to SpirentOrion/orion-react-component-resizable that referenced this pull request Mar 29, 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.

2 participants