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

Conversation

@nturgut
Copy link
Contributor

@nturgut nturgut commented Oct 4, 2019

This fixes 2 issues:

  1. On the context menu select all was not working for firefox. All the other events are using onselectionchange (https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselectionchange) For firefox, onSelect listener is added.

  2. Moving the cursor by mouse selection was not working since the input/textarea element was not a child of glass pane. This PR moves the dom element under glass pane.

Fixing issue flutter/flutter#41633
This is also a good first step for: flutter/flutter#32213 since the gestures on the text field will be sync'ed to Flutter Framework now.
Fixing issue flutter/flutter#41643 Since the touch gestures are sync'ed to Flutter Framework

@nturgut nturgut requested review from mdebbar and yjbanov October 4, 2019 16:57
@nturgut nturgut added the platform-web Code specifically for the web engine label Oct 4, 2019
Copy link
Contributor

@mdebbar mdebbar left a comment

Choose a reason for hiding this comment

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

LGTM with minor comments.

@nturgut nturgut merged commit 16a4df7 into flutter:master Oct 4, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 4, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Oct 7, 2019
[email protected]:flutter/engine.git/compare/7d90779bb66f...1d62160

git log 7d90779..1d62160 --no-merges --oneline
2019-10-04 [email protected] Prettify all CMX files (flutter/engine#12800)
2019-10-04 [email protected] Restart all modern Samsung keyboard IMM (flutter/engine#12780)
2019-10-04 [email protected] Reland fuchsia build improvements (flutter/engine#12795)
2019-10-04 [email protected] Fixing selection issues in Firefox (flutter/engine#12793)
2019-10-04 [email protected] Disable EmbedderTest::CanLaunchAndShutdownMultipleTimes. (flutter/engine#12799)
2019-10-04 [email protected] [flutter_runner] Update the cmx files to include TZ support (flutter/engine#12798)
2019-10-04 [email protected] Roll src/third_party/skia fbdf48ecb204..95edac1c9a4a (1 commits) (flutter/engine#12790)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Nov 26, 2019
[email protected]:flutter/engine.git/compare/7d90779bb66f...1d62160

git log 7d90779..1d62160 --no-merges --oneline
2019-10-04 [email protected] Prettify all CMX files (flutter/engine#12800)
2019-10-04 [email protected] Restart all modern Samsung keyboard IMM (flutter/engine#12780)
2019-10-04 [email protected] Reland fuchsia build improvements (flutter/engine#12795)
2019-10-04 [email protected] Fixing selection issues in Firefox (flutter/engine#12793)
2019-10-04 [email protected] Disable EmbedderTest::CanLaunchAndShutdownMultipleTimes. (flutter/engine#12799)
2019-10-04 [email protected] [flutter_runner] Update the cmx files to include TZ support (flutter/engine#12798)
2019-10-04 [email protected] Roll src/third_party/skia fbdf48ecb204..95edac1c9a4a (1 commits) (flutter/engine#12790)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
@jadolg
Copy link

jadolg commented Feb 3, 2020

Hi @nturgut
I have tried from the master channel and still, the cursor position on the input is not correctly set when clicking in the component.
out

@yjbanov
Copy link
Contributor

yjbanov commented Feb 3, 2020

@jadolg Would you mind filing a new issue with information about the browser, build mode, and output from flutter doctor -v?

@jadolg
Copy link

jadolg commented Feb 4, 2020

I just created flutter/flutter#50101
I'll reference it in the other PR also

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes platform-web Code specifically for the web engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants