nb-select not disable layout scrolling properly
- 主要语言
- TypeScript
- 星标
- 8.1k
- 派生
- 1.5k
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Issue type
**I'm submitting an issue regarding the nb-select, when open an nb-select while another nb-select is opening will enable layout scrolling causing nb-option miss position upon scrolling**
* [x] bug report
* [ ] feature request
### Issue description
**Current behavior:**
Open nb-select while another nb-select is opening will enable layout scrolling
**Expected behavior:**
Open nb-select while another nb-select is opening will keep layout scrolling disabled
**Steps to reproduce:**
Repeating below process will reproduce the bug
Open nb-select (A), then open nb-select (B), then open nb-select (A) again, this time layout scrolling will be enabled while an nb-select is in open state, then upon scrolling nb-option will miss position with nb-select
**Related code:**
https://stackblitz.com/edit/github-drnx6d
```ts
Month 0
Month 1
Month 2
Month 3
Month 4
Day 0
Day 1
Day 2
Day 3
Day 4
Year 0
Year 1
Year 2
Year 3
Year 4
Time 0
Time 1
Time 2
Time 3
Time 4
```
### Other information:
**npm, node, OS, Browser**
```
npm version 6.9.0
node version 10.16.2
OS window 10
Browser Chrome 83
```
**Angular, Nebular**
```
"dependencies": {
"@angular/animations": "~8.2.14",
"@angular/cdk": "^8.0.0",
"@angular/common": "~8.2.14",
"@angular/compiler": "~8.2.14",
"@angular/core": "~8.2.14",
"@angular/forms": "~8.2.14",
"@angular/platform-browser": "~8.2.14",
"@angular/platform-browser-dynamic": "~8.2.14",
"@angular/router": "~8.2.14",
"@nebular/eva-icons": "4.6.0",
"@nebular/theme": "4.6.0",
"eva-icons": "^1.1.2",
"rxjs": "~6.4.0",
"tslib": "^1.10.0",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.803.25",
"@angular/cli": "~8.3.26",
"@angular/compiler-cli": "~8.2.14",
"@angular/language-service": "~8.2.14",
"@schematics/angular": "~8.3.26",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "^5.0.0",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.15.0",
"typescript": "~3.5.3"
}
```
贡献指南
评估
这个 Issue 还没有评估数据。