primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Dropdown is not align with input when using appendTo="body" property

Open NathanAlcantara opened this issue 7 years ago • 8 comments

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports) Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.

https://stackblitz.com/edit/github-mcc3mc-dkrdpx

Current behavior When autocomplete is inside a modal and using appendTo='body' the suggestions appears not align with the input

Expected behavior Suggestions and input should be align with each other

Minimal reproduction of the problem with instructions Open dialog and see the difference of a autocomplete with appendTo and without

What is the motivation / use case for changing the behavior? Once a autocomplete is inside a dialog, suggestions appear on dialog and the scroll is show up just to see the suggestions, i belive that isn't a the best behavior, and i need that suggestions appears out of dialog

The problem is kind of similiar at this issue: #6918

Please tell us about your environment:

  • Angular version: 7.X

  • PrimeNG version: 7.X

  • Browser: [Chrome XX | Firefox XX]

  • Language: [all]

  • Node (for AoT issues): node --version = v10.13.0

NathanAlcantara avatar Jun 13 '19 14:06 NathanAlcantara

+1

sidneibiz avatar Jun 13 '19 14:06 sidneibiz

+1

csvinhal avatar Jun 13 '19 14:06 csvinhal

+1

elizeugba avatar Jun 13 '19 14:06 elizeugba

I too facing this issue but I can't find any solution what is the solution for this. In which version it is fixed @mertsincan

nandhini0612 avatar May 06 '21 13:05 nandhini0612

I too facing this issue but I can't find any solution what is the solution for this. In which version it is fixed @yigitfindikli, can you take a look on this bug?

HangZhouWan avatar Aug 12 '21 07:08 HangZhouWan

image Still happening, can´t find a way to fix it yet

EzePerucca avatar Aug 17 '21 20:08 EzePerucca

Currently facing this issue while using PrimeNg 8.1.4.

purrfectdoodle avatar Nov 28 '22 10:11 purrfectdoodle

any update?

upondeep avatar Mar 10 '23 06:03 upondeep