zefoy / ngx-color-picker

Color picker widget for the Angular (version 2 and newer)
MIT License
457 stars 143 forks source link

Dialog does not open at the correct position in a scrollable page #346

Open ewongct opened 1 year ago

ewongct commented 1 year ago

image https://stackblitz.com/edit/stackblitz-starters-tt3rby?file=src%2Fmain.ts

The dialog's top is window.innerHeight - dialog height but top should be larger when we scroll lower?

bjornharvold commented 6 months ago

Experiencing the same issue in our application

harshu208 commented 2 months ago

Is there any way to fix it. Facing same issue in my angular application

ewongct commented 2 months ago

you can put the input in a div with position relative

bjornharvold commented 2 months ago

"position relative" does the job NICELY!