Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. collapse expand rows not scrolling to row

collapse expand rows not scrolling to row

Scheduled Pinned Locked Moved Bug Reports
5 Posts 2 Posters 72 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tim.topo
    wrote on last edited by tim.topo
    #1

    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.

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      when i click on here

      Screenshot 2024-08-06 at 14.40.39.png

      it seems that i scroll down.
      im on chrome

      do you use any custom code? did you do the steps in the blue box to the right?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tim.topo
        wrote on last edited by tim.topo
        #3

        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.

        https://we.tl/t-HPanTIiEWp

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by arminunruh
            #5

            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:

            Screenshot 2024-08-18 at 16.51.38.png

            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:

            Screenshot 2024-08-18 at 16.57.06.png

            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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            šŸ’æ Email me here: šŸ’æ
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. 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:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            C
            craigfeldspar
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search