NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.88k stars 3.94k forks source link

Cascader级联选择选择框在屏幕右边是会被屏幕挡住 #5102

Closed tang-butian closed 4 years ago

tang-butian commented 4 years ago

Reproduction link

https://ng-zorro-antd-start-vcobp1.stackblitz.io

Steps to reproduce

将Cascader 放在最右边,选择框超出屏幕后会被挡住

What is expected?

选择框能移动到屏幕内来

What is actually happening?

选择框超出屏幕后会被挡住

Environment Info
ng-zorro-antd 9.0.2
Browser chrome

重现链接是 8.xx 版本,没办法重现

zorro-bot[bot] commented 4 years ago

Translation of this issue:

Cascader cascade selection check box according to the position not float

Reproduction link

[Https://ng-zorro-antd-start-vcobp1.stackblitz.io] (https://ng-zorro-antd-start-vcobp1.stackblitz.io)

Steps to reproduce

The Cascader on the far right, will be blocked after the selection frame beyond the screen

What is expected?

Selection frame can be moved into the screen

What is actually happening?

After the selection box beyond the screen will be blocked

Environment Info
Ng-zorro-antd 9.0.2
Browser chrome

Reproduce link is 8.xx version, no way to reproduce

wzhudev commented 4 years ago

Hi @2693252993. I could not open your reproduction link. Would you please provide the editable link?

tang-butian commented 4 years ago

@wendellhu95 https://stackblitz.com/edit/ng-zorro-antd-start-fgzvcs