Skip to content

bug: ion-range: Clicking/Tapping on the Last tick doesn't work #30738

@graphical-iain

Description

@graphical-iain

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

The last tick has a style="left:100%" which puts it outside the clickable area. This isn't so noticeable with default styles, but making the ticks any wider makes the issue clear to users.

Image

The grabbing cursor only shows when hovering over the bar, and clicking the actual tick does nothing.

Expected Behavior

Clicking on the final tick should select the last option in the range.

Steps to Reproduce

This is reproducible with the Docs Example.

  1. Go to https://ionicframework.com/docs/api/range#snapping--ticks
  2. Click on the last tick

Code Reproduction URL

https://ionicframework.com/docs/api/range#snapping--ticks

Ionic Info

N/A

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions