Fix: prevent text selection on SVG controls #196

Merged
jakob.scheid merged 2 commits from fix/prevent-text-selection-on-svg-controls into main 2026-09-11 19:01:53 +02:00
Member

Prevent text selection on SVG controls

Summary

Prevent SVG-based UI controls from triggering text selection or
long-press selection gestures on touch devices.

Changes

  • Make the shared UIIcon container non-selectable.
  • Keep regular text content selectable.
  • Add focused UIIcon test coverage.

Implementation

The fix is applied centrally in UIIcon.vue so all existing SVG
icon usages receive the same behavior without duplicating CSS across
individual controls.

Related issues

Closes: #181

# Prevent text selection on SVG controls ## Summary Prevent SVG-based UI controls from triggering text selection or long-press selection gestures on touch devices. ## Changes - Make the shared `UIIcon` container non-selectable. - Keep regular text content selectable. - Add focused UIIcon test coverage. ## Implementation The fix is applied centrally in `UIIcon.vue` so all existing SVG icon usages receive the same behavior without duplicating CSS across individual controls. ## Related issues Closes: #181
jakob.gregory added this to the 0.2.0 milestone 2026-09-11 18:51:25 +02:00
jakob.gregory added the
Priority
Low
4
Area/GlobalKind/Bug
labels 2026-09-11 18:51:25 +02:00
jakob.gregory added this to the Project Board project 2026-09-11 18:51:25 +02:00
jakob.gregory added 1 commit 2026-09-11 18:51:25 +02:00
jakob.scheid changed title from Prevent text selection on SVG controls to Fix: prevent text selection on SVG controls 2026-09-11 18:53:35 +02:00
jakob.scheid moved this to Review in Project Board on 2026-09-11 18:56:33 +02:00
Member

I tested it and your fix works! 🥳 i think you solved it very good.

I tested it and your fix works! 🥳 i think you solved it very good.
jakob.scheid added 1 commit 2026-09-11 18:59:13 +02:00
jakob.scheid left a comment
Owner

Thank you for this contribution!

Thank you for this contribution!
jakob.scheid merged commit 4a81ab579f into main 2026-09-11 19:01:53 +02:00
jakob.scheid deleted branch fix/prevent-text-selection-on-svg-controls 2026-09-11 19:01:53 +02:00
jakob.scheid moved this to Done in Project Board on 2026-09-11 19:02:08 +02:00
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Seekra/frontend#196