Skip to content

Fixing typo: roghly -> roughly #1

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 7, 2017
Merged

Conversation

chuwik
Copy link
Member

@chuwik chuwik commented Apr 7, 2017

No description provided.

@msftclas
Copy link

msftclas commented Apr 7, 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@ms-deregtd ms-deregtd merged commit 1358f88 into microsoft:master Apr 7, 2017
@chuwik chuwik deleted the patch-1 branch April 7, 2017 04:45
@erictraut erictraut mentioned this pull request Jun 30, 2017
deregtd pushed a commit that referenced this pull request Sep 18, 2017
deregtd added a commit that referenced this pull request Sep 19, 2017
…nitions (#280)

* Rename #1 for ViewBase to fix caps

* Rename #2 to fix ViewBase.  Enabling forceConsistentCasingInFileNames.

* Enabling noImplicitReturns, fixing a bug in native-common/Linking.ts

* Enabling noImplicitThis

* Enabling noUnusedLocals and fixing some bugs it found

* Enabling strict null checks on reactxp

* Addressing PR feedback

* Fixing a bunch of type exporting/checking issues

* Fixed a bunch of base interfaces and made everything inherit from them.  Made the exported reactxp.ts files per-platform export types from the base classes instead of their specific implementation.  This brought a bunch of interface holes to the surface.
ladipro added a commit to ladipro/reactxp that referenced this pull request Feb 23, 2018
- reset CustomScrollbar._asyncInitTimer to undefined when it fires
- made the deferred work in FocusManager idempotent
erictraut pushed a commit that referenced this pull request Feb 23, 2018
* Sync layout: Don't touch view container until _reportLayoutChange fires

Reading container.offsetLeft, container.Top etc. triggers layout recalculation
and unnecessarily stalls JS execution. Fixed in this commit by always subscribing
to _reportLayoutChange and pushing our logic down to the deferred callback.

* Sync layout: Defer initial CustomScrollbar sizing

Asking for viewport dimensions triggers layout recalculation and
unnecessarily stalls JS execution. Scrollbars having the exact correct
size on first render is arguably not worth the perf hit (much less
so when they are initially hidden which is the common case).

Also deferring _tryLtrOverride() for the same reason. It's not clear
when the neutral override class would actually be used. Maybe this
whole thing can be removed? (Apologies, my web-fu is weak.)

* Sync layout: Defer problematic tabIndex changes

Setting tabIndex to -1 on an element that's active triggers layout
recalculation and unnecessarily stalls JS execution. Defer this
work to the next timer tick.

* Addressed feedback #1

- reset CustomScrollbar._asyncInitTimer to undefined when it fires
- made the deferred work in FocusManager idempotent

* Revert "Sync layout: Don't touch view container until _reportLayoutChange fires"

This reverts commit ef5e701.

* Sync layout: Defer _checkAndReportLayout after showing a popup

Checking layout after showing a popup triggers layout recalculation and
unnecessarily stalls JS execution. Avoid that by deferring this work
under these specific circumstances.
berickson1 pushed a commit to berickson1/reactxp that referenced this pull request Oct 22, 2018
…nitions (microsoft#280)

* Rename microsoft#1 for ViewBase to fix caps

* Rename microsoft#2 to fix ViewBase.  Enabling forceConsistentCasingInFileNames.

* Enabling noImplicitReturns, fixing a bug in native-common/Linking.ts

* Enabling noImplicitThis

* Enabling noUnusedLocals and fixing some bugs it found

* Enabling strict null checks on reactxp

* Addressing PR feedback

* Fixing a bunch of type exporting/checking issues

* Fixed a bunch of base interfaces and made everything inherit from them.  Made the exported reactxp.ts files per-platform export types from the base classes instead of their specific implementation.  This brought a bunch of interface holes to the surface.
berickson1 pushed a commit to berickson1/reactxp that referenced this pull request Oct 22, 2018
* Sync layout: Don't touch view container until _reportLayoutChange fires

Reading container.offsetLeft, container.Top etc. triggers layout recalculation
and unnecessarily stalls JS execution. Fixed in this commit by always subscribing
to _reportLayoutChange and pushing our logic down to the deferred callback.

* Sync layout: Defer initial CustomScrollbar sizing

Asking for viewport dimensions triggers layout recalculation and
unnecessarily stalls JS execution. Scrollbars having the exact correct
size on first render is arguably not worth the perf hit (much less
so when they are initially hidden which is the common case).

Also deferring _tryLtrOverride() for the same reason. It's not clear
when the neutral override class would actually be used. Maybe this
whole thing can be removed? (Apologies, my web-fu is weak.)

* Sync layout: Defer problematic tabIndex changes

Setting tabIndex to -1 on an element that's active triggers layout
recalculation and unnecessarily stalls JS execution. Defer this
work to the next timer tick.

* Addressed feedback microsoft#1

- reset CustomScrollbar._asyncInitTimer to undefined when it fires
- made the deferred work in FocusManager idempotent

* Revert "Sync layout: Don't touch view container until _reportLayoutChange fires"

This reverts commit ef5e701.

* Sync layout: Defer _checkAndReportLayout after showing a popup

Checking layout after showing a popup triggers layout recalculation and
unnecessarily stalls JS execution. Avoid that by deferring this work
under these specific circumstances.
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