Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@chunhtai
Copy link
Contributor

@chunhtai chunhtai commented Jun 21, 2021

The previous pr is causing internal test failure. The issue is due to the scroll extend and scroll position can be NaN.
The fix is in the second commit

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on
    writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.
  • The reviewer has submitted any presubmit flakes in this PR using the engine presubmit flakes form before re-triggering the failure.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@google-cla google-cla bot added the cla: yes label Jun 21, 2021
@chunhtai chunhtai force-pushed the issues/80711-reland-again branch from 51bbd24 to fcb0f56 Compare June 22, 2021 19:37
@chunhtai chunhtai requested a review from gaaclarke June 22, 2021 19:38
Copy link
Member

@gaaclarke gaaclarke left a comment

Choose a reason for hiding this comment

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

lgtm, i was hoping that the move to isfinite would handle nan for you, guess not.


- (float)scrollExtentMax {
if (![_semanticsObject isAccessibilityBridgeAlive]) {
return 0.0;
Copy link
Member

Choose a reason for hiding this comment

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

nit: 0.0f

@chunhtai chunhtai force-pushed the issues/80711-reland-again branch 2 times, most recently from 7ddc62f to 86e8a00 Compare June 23, 2021 16:23
@chunhtai chunhtai force-pushed the issues/80711-reland-again branch from 86e8a00 to 817743b Compare June 23, 2021 16:33
@chunhtai chunhtai merged commit 7aa61d6 into flutter:master Jun 23, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 24, 2021
moffatman pushed a commit to moffatman/engine that referenced this pull request Aug 5, 2021
naudzghebre pushed a commit to naudzghebre/engine that referenced this pull request Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants