ionic-team / ionic-team/ionic-framework
bug: ion-range: Clicking/Tapping on the Last tick doesn't work
- 主要语言
- TypeScript
- 星标
- 52.7k
- 派生
- 13.3k
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 51
描述
### 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.
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_
贡献指南
调研方向
Start with the ion-range Docs Example at the snapping--ticks section and trace the range component's final tick positioning and click handling. Reproduce the issue by clicking the last tick, then verify that the final tick selects the last range option and that the relevant interaction remains usable with wider ticks.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 70/100