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

[web] Long press fix on Safari on IOS#14588

Merged
nturgut merged 3 commits into
flutter-team-archive:masterfrom
nturgut:long_press_fix
Dec 20, 2019
Merged

[web] Long press fix on Safari on IOS#14588
nturgut merged 3 commits into
flutter-team-archive:masterfrom
nturgut:long_press_fix

Conversation

@nturgut

@nturgut nturgut commented Dec 20, 2019

Copy link
Copy Markdown
Contributor

The long press in IOS does not bring the virtual keyboard but still focus on the dom element. After this if a user taps on the input element the virtual keyboard will shift the page up. (the video I recorded turned out to be to big for github so I am not adding it here.)

in order to fix this, i added one more listener. this time for the click. this listener carries the input field temporarily out of the visible page to prevent shifting.

fixing eap issue: flutter/flutter#41638

@nturgut nturgut requested a review from mdebbar December 20, 2019 01:44
@auto-assign auto-assign Bot requested a review from chinmaygarde December 20, 2019 01:44
@nturgut nturgut removed the request for review from chinmaygarde December 20, 2019 01:44

@mdebbar mdebbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing this long-standing issue!

Comment thread lib/web_ui/lib/src/engine/text_editing/text_editing.dart Outdated
Comment thread lib/web_ui/lib/src/engine/text_editing/text_editing.dart Outdated
@nturgut

nturgut commented Dec 20, 2019

Copy link
Copy Markdown
Contributor Author

I am merging since the breakage is in Fushia (unrelated to the web engine)

@nturgut nturgut merged commit fac66c2 into flutter-team-archive:master Dec 20, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 20, 2019
flar pushed a commit to flutter/flutter that referenced this pull request Dec 21, 2019
* 399a29e Roll src/third_party/dart 141fcfa61092..4681868aaf77 (9 commits) (flutter-team-archive/engine#14590)

* 97fd705 Roll src/third_party/skia 7e2dea568299..dcac29b02d02 (3 commits) (flutter-team-archive/engine#14591)

* 6d92887 Roll src/third_party/dart 4681868aaf77..b92fefdfe971 (1 commits) (flutter-team-archive/engine#14592)

* 4d7313f Roll fuchsia/sdk/core/mac-amd64 from f51Q_... to VC7eE... (flutter-team-archive/engine#14593)

* fac66c2 [web] Long press fix on Safari on IOS (flutter-team-archive/engine#14588)

* 32eb6e9 Roll src/third_party/skia dcac29b02d02..088913a63b7e (1 commits) (flutter-team-archive/engine#14597)

* ede1b6b Roll fuchsia/sdk/core/linux-amd64 from 25LzW... to TUoVa... (flutter-team-archive/engine#14596)

* cce5afd Roll src/third_party/dart b92fefdfe971..886615d0f95b (2 commits) (flutter-team-archive/engine#14595)

* 9b299f2 fix editable placement in a11y mode (flutter-team-archive/engine#14581)

* 3381392 [web] implement pushImageFilter (flutter-team-archive/engine#14599)
filmil pushed a commit to filmil/engine that referenced this pull request Mar 13, 2020
* fixing long press by listening click

* documenting the code. creating a new method

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

Labels

Development

Successfully merging this pull request may close these issues.

3 participants