ionic-team / ionic-team/ionic-framework

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

Aperta
#30,738 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
triage
Lingua principale
TypeScript
Stelle
52.7k
Fork
13.3k
Merge medio
1g 15h
PR unite (30g)
51

Descrizione

### Prerequisites

- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### 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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.