question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: ion-input's cursor jumps to the end after the first key in Safari when text is inserted

See original GitHub issue

Bug Report

Ionic version: [x] 4.6.x

Current behavior: In Safari on Mac when trying to insert text in the middle ofion-input the cursor jumps to the end after the first keystroke.

Expected behavior: The cursor should not jump to the end after the first keystroke when text is inserted in ion-input.

Steps to reproduce: Open ion-input’s demo at https://ionicframework.com/docs/api/input in Safari on Mac, type text into any of the form ion-inputs, then try to insert text in the middle.

Note:

  • Seems to work in 4.5.0
  • This bug also effects native iOS apps.
  • Everything works fine in Chrome, Firefox.
  • Textarea seems to work fine.

Other information: Safari version: 12.1.1 (14607.2.6.1.1) macOS Mojave version: 10.14.5 (18F132)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:6

github_iconTop GitHub Comments

4reactions
trevor10032commented, Jul 15, 2019

Having the same critical issue. Please fix this

0reactions
ionitron-bot[bot]commented, Sep 7, 2019

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ion-input's cursor jumps to the end after the first key in Safari ...
Current behavior: In Safari on Mac when trying to insert text in the middle of ion-input the cursor jumps to the end after...
Read more >
Cursor jumps to end of field - Apple Community
Touch and hold the Space bar with one finger until the keyboard turns light gray. Move the insertion point by dragging around the...
Read more >
The Curious Case of Cursor Jumping - Mutually Human
Cursor jumping is simply when the cursor jumps from one location to another, unexpectedly, while the user is typing into a text field....
Read more >
Cursor goes to end of input when changing data in safari ...
The cursor goes to the end of input when changing data in the safari browser. all other browsers working fine, but safari browser...
Read more >
7 of the Biggest Mac Annoyances & How to Fix Them | OSXDaily
This post aims to address some of the bigger annoyances that may be encountered on a Mac, with easy solutions on how to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found