I'm using Dropdown menu from PrimeReact library. I have just noticed that when I press on input field windows pops up and looks as it normally should, picture below.
But when I keep it open and scroll the screen window moves with the screen, which is strange and of course not wished behaviour.
This is how it's implemented
<Dropdown
name={`multisports.${index}.multisportType.cost`}
value={multisportType.cost}
options={sortedMultisportCost}
onChange={handleChange}
placeholder="Select cost"
/>
Can You please suggest how can I fix this bug ?