Prevent text selection on SVG controls #181

Open
opened 2026-08-06 17:58:44 +02:00 by jakob.gregory · 0 comments
Member

Prevent text selection on SVG controls

Problem

Interactive controls that are represented by SVG icons can still trigger text selection or long-press selection gestures on touch devices (see attached screenshots as an example). Since these controls do not contain selectable text, this behavior is unnecessary and results in a less polished user experience.

Solution approaches

  • Disable text selection on interactive SVG controls.
  • Keep text selection enabled for regular text content.

Goals

  • Prevent accidental text selection on SVG controls.
  • Preserve text selection for normal text.
  • Improve the touch experience on mobile devices.
# Prevent text selection on SVG controls ## Problem Interactive controls that are represented by SVG icons can still trigger text selection or long-press selection gestures on touch devices (see attached screenshots as an example). Since these controls do not contain selectable text, this behavior is unnecessary and results in a less polished user experience. ## Solution approaches - Disable text selection on interactive SVG controls. - Keep text selection enabled for regular text content. ## Goals - Prevent accidental text selection on SVG controls. - Preserve text selection for normal text. - Improve the touch experience on mobile devices.
jakob.gregory added this to the 0.2.0 milestone 2026-08-06 17:58:44 +02:00
jakob.gregory added the
Priority
Low
4
Kind/EnhancementArea/Global
labels 2026-08-06 17:58:44 +02:00
jakob.gregory added this to the Project Board project 2026-08-06 17:58:44 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Seekra/frontend#181