taiga-ui icon indicating copy to clipboard operation
taiga-ui copied to clipboard

🐞 - `Combobox` incorrect vertical direction of dropdown after its reopening

Open nsbarsukov opened this issue 1 year ago • 0 comments

Which @taiga-ui/* package(s) are the source of the bug?

kit

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/combobox-dropdown-vertical-alignment-bug?file=src/app/app.component.html

Is this issue blocking you?

Non-Blocking

Description

  1. Open https://stackblitz.com/edit/combobox-dropdown-vertical-alignment-bug?file=src/app/app.component.html
  2. Scroll down until combobox is impossible to open dropdown to the "bottom"-direction (it is expectedly opens to the "top"-direction).
  3. Close dropdown and scroll to the top of the page until combobox is again capable to open dropdown to the "bottom"-direction
  4. Click on the combobox

Actual behaviour: Combobox opens dropdown to the "top"-direction

https://user-images.githubusercontent.com/35179038/190972515-d868ad16-ed87-40f8-bb68-553ca277ac32.mov

Expected behaviour: Combobox opens dropdown to the "bottom"-direction

Angular version

any

Taiga UI version

3.3.0

Which browsers have you used?

  • [X] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge

Which operating systems have you used?

  • [X] macOS
  • [ ] Windows
  • [ ] Linux
  • [ ] iOS
  • [ ] Android

nsbarsukov avatar Sep 19 '22 07:09 nsbarsukov