akveo / akveo/nebular

nb-option scrolling issue

Đang mở
#2,581 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
8.1k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Issue type

**I'm submitting a ...**

* [x] bug report
* [ ] feature request

### Issue description

**Current behavior:**
Currently, each input that allows seeing list of options (there are nb-select, nb-autocomplete, nb-datepicker) has the next scrolling issue.
If you open the nb-option list and scroll your page to the top or bottom, this list scrolls along with the page.

**Expected behavior:**
It should disappear or be sticky to the position that it was initially opened.

**Steps to reproduce:**
To reproduce this bug you have to simply put any of these controls (nb-select, nb-autocomplete, nb-datepicker) inside a nb-card-body and have the scrollable content inside this card-body.

### _Initial opening:_
![image](https://user-images.githubusercontent.com/19598988/98003273-35b34200-1df7-11eb-9840-f9a7041c752c.png)

### _Scrolling down:_
![image](https://user-images.githubusercontent.com/19598988/98003362-55e30100-1df7-11eb-8d10-03afbcd6ae23.png)

As you can see the options (calendar in our case) don't disappear it scrolls with the page content.

**Related code:**
```








```

### Other information:

**npm, node, OS, Browser**
```
Node: 10.15.3
Npm: 6.14.4
OS: Windows 10
Browser: Chrome, Firefox, and maybe all the others.

```

**Angular, Nebular**
```
Angular: 9.1.12
Nebular: 5.1.0
```

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.