primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.46k stars 4.6k forks source link

Scroll Panel hides bottom content in FireFox (since PrimeNG v10) #10053

Closed nkerr closed 2 years ago

nkerr commented 3 years ago

I'm submitting a ...

[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) https://primefaces.org/primeng/showcase/#/scrollpanel View your showcase demo (scrollpanel) in FireFox 87.0 (64-bit) on Windows.

Current behavior You will notice that it is impossible to scroll to the very bottom of the scrollpanel in FireFox. The last line of content is almost entirely hidden from view: image

The issue appears to be caused by the 18px that are added to the height of p-scrollpanel-content: image

Changing the CSS to be 100% for height appears to resolve the problem in FireFox (but breaks Chrome): image

Expected behavior It should be possible to reveal the bottom of the scrolling content by dragging the scrollbar to the bottom of its track, even when using FireFox.

Minimal reproduction of the problem with instructions View your showcase demo (scrollpanel) in FireFox 87.0 (64-bit) on Windows and attempt to scroll to the bottom of the scrollable content: https://primefaces.org/primeng/showcase/#/scrollpanel

What is the motivation / use case for changing the behavior? Scrollpanel is fundamentally broken in Firefox in version 10+ of PrimeNG.

Please tell us about your environment: Windows 10, FireFox 87.0 (64bit)

ES-Six commented 2 years ago

Encountered this too with primeng version : 13.4.1 and latest version of Firefox.

cetincakiroglu commented 2 years ago

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Please don't forget to add your feedback as a comment after reopening the issue. These will be taken into account by us and will contribute to the development of this feature. Thanks a lot for your understanding!

Best Regards,