collapse expand rows not scrolling to row
-
Hi, this page was working as desired, but now after changing a some text it doesn't.
The 'X' image in the individual people profiles should scroll back to the row above, for some reason it doesn't seem to be doing this now.
The source code for the 'X' element is:
<p><a href="#expandrow" data-expand="1" data-animation="200" data-animationtiming="cubic-bezier(0.17,0.84,0.44,1)" data-collapseotherrows="true" data-scrolltoexpandedrow="true"><img src="https://topoarchitects.co.uk/wp-content/uploads/2024/07/topo-architects-close-page-01.webp" alt="A cross to close the current page" /></a></p>
Link to the website is:
https://topoarchitects.co.uk/people/
Edit: I can see that by changing the width of my browser window the narrower the window the closer to the desired location.
-
when i click on here
it seems that i scroll down.
im on chromedo you use any custom code? did you do the steps in the blue box to the right?
-
I've tried the steps in blue.
I've recorded a video to show what I mean.
You see when I click the cross to close the profile I opened it scrolls upwards, but not to the top of the desired row. It does however get close when I reduce the width of the browser window. Same issue with both Safari and Chrome.
-
hey there! sorry i missed this post and then i went on holidays.
wetransfer only keeps files for like 3 days :O
can u re-upload it or share a dropbox link -
oh ok
so when you click the cross, you just collapse the row.
collapsing the row doesnt make your browser scroll anywhere.
as far as i know, there is only the functionality where you scroll to an expanded row:there is no setting that says "when closing row, scroll somewhere"
on your "X" you use the expand feature to close that row.
edit your "X" text, click the expandrow icon in the texteditor. then make sure to disable "Scroll to expanded Row" here.
that button just says if you were to expand another row by clicking on X, it would scroll there. However, you just use that X to close that row.close the texteditor by clicking "Ok".
Right click the "X" textbox in the gridder and choose:maybe that works. let me know.
cause basically you just want to scroll to the top after you have closed the row with the X button
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it