AutoComplete suggestions move when scrolling the page if it is wrapped in a dialog

UI Components for React
Post Reply
codingGandalf
Posts: 2
Joined: 05 Jul 2022, 09:03

06 Jul 2022, 08:00

Hi,

I am using the autocomplete component in my project, which is wrapped in a dialog. The problem is when i open up the dialog and scroll on the page, the suggestions/options move while the dialog with the autocomplete stays in the same position. The same problem occurs with the dropdown component. Here is a code sandbox example:

https://codesandbox.io/s/dropdowntest-l ... src/App.js

Is there any way to fix this?

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

08 Jul 2022, 16:43

PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeReact”

  • Information