ionic-team / ionic-team/ionic-framework

bug: <ion-content> with scrollY="false" becomes scrollable when I interact with a <ion-range> inside the content

Đang mở
#30,952 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
package: core type: bug
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

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

I have a `` with `scrollY="false"`. Inside, there is a ``. When the content is higher than ``'s height, it's hidden (as expected with `scrollY="false"`).

But if I move the slider, then the content becomes scrollable.

You can see it in this video:

https://github.com/user-attachments/assets/761b4db4-4a98-4503-847d-178a5828caa8

### Expected Behavior

`` should never be scrollable when `scrollY="false"`

### Steps to Reproduce

1. Clone https://gitlab.com/jbgtmartin/ionic-ion-content-scroll-issue
2. Start the app with `yarn start`
3. Move the slider
4. Scroll the content

### Code Reproduction URL

https://gitlab.com/jbgtmartin/ionic-ion-content-scroll-issue

### Ionic Info

Ionic:

Ionic CLI : 7.2.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.7.17
@angular-devkit/build-angular : 20.3.16
@angular-devkit/schematics : 20.3.16
@angular/cli : 20.3.16
@ionic/angular-toolkit : 12.3.0

Utility:

cordova-res : not installed globally
native-run : 2.0.0

System:

NodeJS : v22.17.0 (/usr/local/bin/node)
npm : 10.9.2
OS : macOS Unknown

### Additional Information

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.