Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
At the moment, when clicking on a thumbnail, the page scrolls down to the image. There seems no way to avoid it, except overriding the template and the javascript.
It would be nice if it would be possible to turn this behavior off easily.
Is there any way to easily cancel the click event? e.preventDefault() is already there, but does not prevent the scrolling to the hash tag.
Comments
Comment #1
odizle CreditAttribution: odizle commentedHi valderama, did you manage to fix this issue somehow?