mkpaz / atlantafx

Modern JavaFX CSS theme collection with additional controls.
https://mkpaz.github.io/atlantafx
MIT License
791 stars 64 forks source link

ComboBox popup location is not correct for the first time #67

Closed wait-for-the-dawn closed 1 year ago

wait-for-the-dawn commented 1 year ago

Thanks for the great project, I love this project very much!

ComboBox popup is not showing in the correct location for the first time, please see my scrrenshot below, there was a big gap between ComboBox selector and the popup. image When I clicked the selector for the second time, it just show in the correct location. image

Updated It seems that this issue only occurred when there's not enough space at the bottom of the window, and it will pop up to the top of the CombBox, it also occurred for the first time show. image

mkpaz commented 1 year ago

Sorry, but it looks like JavaFX bug to me. There're many like this one JDK-8170972, JDK-8146180. Could you please check it with default Modena theme?

wait-for-the-dawn commented 1 year ago

This is a JavaFX bug, I can reproduce it with Modena theme. Unfortunately, this haven't been fixed with OpenJFX 17.0.7, and it seems this was not fixed with OpenJFX 21-ea+24 either.

Please close this issue as it was not AtlantaFX bug, sorry for the inconvenience.