Skip to content

Conversation

@OS-martacarlos
Copy link

@OS-martacarlos OS-martacarlos commented Mar 17, 2025

Issue number: internal

What is the current behavior?

Currently, operations associated with gestures aren’t working, for the ionic theme:

  • can’t select the text using double tap
  • can’t longpress
  • can’t move the cursor to any positions

What is the new behavior?

  • It's now possible to select text using double tap, long press and move the cursor to different positions
  • Adds new tests for double clicks
Before Now
prev now

Does this introduce a breaking change?

  • Yes
  • No

Notes

Currently, the double click text selection is not working (the text isn't selected) on the automated tests for:

  • ionic theme, on firefox and safari
  • md/ios themes, on firefox

as manual tests do not have this problem, we'll be skipping these tests for now and come back to them at a later date

@OS-martacarlos OS-martacarlos added the type: bug a confirmed bug report label Mar 17, 2025
@OS-martacarlos OS-martacarlos self-assigned this Mar 17, 2025
@vercel
Copy link

vercel bot commented Mar 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2025 9:54am

// Cursor should match the native input when hovering over the target area.
cursor: text;

z-index: 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Did we ever figure out why this was added in the first place?

Copy link
Author

Choose a reason for hiding this comment

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

No, it's still a question with no answer

Copy link
Contributor

Choose a reason for hiding this comment

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

We'll just have to keep this in mind if we run into issues later. Have we verified if textarea is behaving correctly? It follows the same structure as input that it might also lead to the same issue.

Copy link
Author

Choose a reason for hiding this comment

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

I've done a simple / quick test on the textarea and haven't found any issue so far

Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

LGTM

@thetaPC thetaPC changed the title fix(input): z-index target-area for ionic theme fix(input): remove z-index target-area for ionic theme Mar 21, 2025
@OS-martacarlos OS-martacarlos merged commit a7233c2 into next Mar 21, 2025
49 checks passed
@OS-martacarlos OS-martacarlos deleted the ROU-11733 branch March 21, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package type: bug a confirmed bug report

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants