Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overflow with mousewheel #863

Closed
fontanil opened this issue Nov 9, 2024 · 2 comments · Fixed by #853
Closed

Overflow with mousewheel #863

fontanil opened this issue Nov 9, 2024 · 2 comments · Fixed by #853
Labels
bug Something isn't working
Milestone

Comments

@fontanil
Copy link

fontanil commented Nov 9, 2024

Describe the bug
Use an extension for download files, like Phoca download

To Reproduce
Steps to reproduce the behavior:
Open a page for download (for example https://www.joomxtensions.com/en/component/phocadownload/file/49-moovjla-2021-06-01.html?catid=1:utilitaires&Itemid=131 )
Try to scroll over the licence text: all the window scroll, not only the content of the text area

Expected behavior
Text scrolls with mouse wheel (works with Cassiopeia)

System Informations (please complete the following information):

  • Joomla Version: 5.2.1
  • PHP Version 8.2.21
  • Astroid Version 3.1.17
  • Device: PC
  • OS: Windows 11
  • Browser tested on Firefosx ans Chrome last versions
@sonvnn
Copy link
Member

sonvnn commented Nov 11, 2024

This is an issue when you enable Smooth-Scrolling. Because we are using Lenis smooth scrolling.
The solution below:

  1. Disable Smooth-Scroll in the template options
  2. Add data-lenis-prevent attribute to <div id="phoca-dl-license" style="height:300px">. Try <div id="phoca-dl-license" data-lenis-prevent="" style="height:300px"> refer Overflow scroll on popup is not working darkroomengineering/lenis#242

@fontanil
Copy link
Author

Thanks Sonny!

I disabled Smooth scrolling and now I can scroll with the mouse wheel, without applying the second part of your solution.
Regards,

@sonvnn sonvnn added this to the Version 3.1.8 milestone Nov 22, 2024
@sonvnn sonvnn added the bug Something isn't working label Nov 22, 2024
@sonvnn sonvnn linked a pull request Nov 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants