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

Mobile - Remove unnecessary forceUpdate #13705

Merged
merged 5 commits into from
Feb 12, 2019
Merged

Conversation

pinarol
Copy link
Contributor

@pinarol pinarol commented Feb 6, 2019

Description

To Fix: wordpress-mobile/gutenberg-mobile#583

We can remove the old forceUpdate here since it is not necessary and it might be causing unnecessary re-rendering that we don't want.

How has this been tested?

Tested with mobile-gutenberg PR.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.

@gziolo gziolo added the Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) label Feb 7, 2019
@pinarol pinarol changed the title [NOT READY FOR REVIEW]Mobile - Fix scrolling glitch Mobile - Fix scrolling glitch Feb 8, 2019
@pinarol pinarol changed the title Mobile - Fix scrolling glitch Mobile - Remove unnecessary forceUpdate Feb 11, 2019
Copy link
Contributor

@etoledom etoledom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working good!
Tested on wordpress-mobile/gutenberg-mobile#554

@pinarol pinarol merged commit c36f32c into master Feb 12, 2019
@pinarol pinarol deleted the rnmobile/fix-scrolling-glitch branch February 12, 2019 15:44
@youknowriad youknowriad added this to the 5.1 (Gutenberg) milestone Feb 15, 2019
youknowriad pushed a commit that referenced this pull request Mar 6, 2019
* Remove force update on content size change

* Remove setting minHeight since it is already set in paragraph and heading
youknowriad pushed a commit that referenced this pull request Mar 6, 2019
* Remove force update on content size change

* Remove setting minHeight since it is already set in paragraph and heading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants