Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. multiple bugs in Table elements

multiple bugs in Table elements

Scheduled Pinned Locked Moved Bug Reports
12 Posts 2 Posters 284 Views 2 Watching
  • 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.
  • arminunruhA Offline
    arminunruhA Offline
    arminunruh
    Global Moderator
    wrote on last edited by
    #2

    hey thanks! im on holidays, i will take a closer look in like a week

    1 Reply Last reply
    0
    • dafvD Offline
      dafvD Offline
      dafv
      wrote on last edited by
      #3

      hey @arminunruh, any updates on this?

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

        hey im looking into it now

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

          ok number 2 i fixed now and will be included with the next update

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

            ok number 3:

            im not a 100% sure, but i think its because u're using "scroll animation"

            image.png

            the element inside the collapsed row is displaced because of this animation, so the height is calculated wrong.

            with the next update, any elements inside a collapsed row will not get this animation.

            after the next update you can try if this works correctly then

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

              issue 1:

              expanding and collapsing rows on desktop layout and phone layout:

              expand/collapse is based on the row's ID, not the row's position/index.

              each row has an ID.
              when you make a link expand/collapse a certain row, then that link remembers the ID of that row. and expands/collapses it based on that ID.

              this way, you can move around a row and it will stay the expanded/collapsed row of that link.

              when you add rows to the custom phone layout, they may get different Id's than rows in the desktop layout.

              so if you just copy over a link that expands a row from the desktop layout to the phone layout or the other way around, it may target a row that doesn't exist.

              that is why any texts that contain a expand/collapse row are not synced between desktop and phone layoout when you change the text/link:

              image.png

              all of this means: you may need to set expand and collapse row links for desktop layout and custom phone layout separately

              1 Reply Last reply
              0
              • dafvD Offline
                dafvD Offline
                dafv
                wrote on last edited by dafv
                #8

                Hey @arminunruh
                I think issues 2 and 3 are fixed now, thank you!

                Regarding the first issue:

                Since all the desktop and mobile layouts have synced elements (with “Sync Element Content”), when I change the Expand/Collapse Row Links on mobile, it creates issues on desktop and vice versa. So it’s basically creating problems that the user doesn’t expect and can miss.

                I understand the row ID process method, but maybe, for lack of a better one in this context, it would be more user-friendly to automatically remove the Expand/Collapse links on synced elements (of the later added layout). That way, it wouldn’t create subsequent issues on the first layout, and we would still be able to keep the text synced between layouts (we would just need to add the expand/collapse links manually on each layout).

                Also, where’s that “Not syncing text” warning? I didn’t see it anywhere :/

                PS: I think the Accordion element would fix pretty much all the issues (and reduce the update complexity of this page) if only it had the possibility of having more than one column. Are you thinking of adding that feature in a near future?

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

                  I understand the row ID process method, but maybe, for lack of a better one in this context, it would be more user-friendly to automatically remove the Expand/Collapse links on synced elements (of the later added layout). That way, it wouldn’t create subsequent issues on the first layout, and we would still be able to keep the text synced between layouts (we would just need to add the expand/collapse links manually on each layout).

                  yea but if you first create a custom phone layout, i think the row Ids are the same, so i think we dont need this.

                  Meaning if you would: delete your custom phone layout, create a new one where it copies over the layout,
                  then the expand collapse should work the same way in the custom phone layout

                  Also, where’s that “Not syncing text” warning? I didn’t see it anywhere :/

                  When you click Ok after editing a text element that contains a expand/collapse link

                  Since all the desktop and mobile layouts have synced elements (with “Sync Element Content”), when I change the Expand/Collapse Row Links on mobile, it creates issues on desktop and vice versa. So it’s basically creating problems that the user doesn’t expect and can miss.

                  No, this should show the “Not syncing text” warning and then it should not sync this text

                  1 Reply Last reply
                  0
                  • dafvD Offline
                    dafvD Offline
                    dafv
                    wrote last edited by dafv
                    #10

                    Thank you @arminunruh

                    I didn’t know that we could delete the phone layout and create a new one.
                    I tried that and it fixed the issue!

                    Regarding the “Not syncing text” warning, it never appeared for me and I believe I figured out why.

                    That warning only appears when a text element is created in one layout, then added to the other layout with the sync option, and only after that the text is edited with an Expand/Collapse Link.

                    But when the text element is created in one layout, edited with an Expand/Collapse Link first, and only after that added to the other layout (with the sync option), the warning doesn’t show up and the links get synced between both layouts.

                    Also, even with the first method, the warning doesn't show up when the Expand/Collapse Link is inside a Table Element.

                    I think these are the reasons why the issue happened in my case, unfortunately.
                    Do you think it would be possible to make these behaviors more consistent by default?

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

                      Hm you are right, this only works for text elements, not for any other elements that can contain texts like accordions, table etc.

                      But when the text element is created in one layout, edited with an Expand/Collapse Link first, and only after that added to the other layout (with the sync option), the warning doesn’t show up and the links get synced between both layouts.

                      True. You mean you create a text element. Then click "Insert into Phone Layout".
                      Then it just copies over the text mmh

                      image.png

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

                        those things should be fixed with the next update im releasing today

                        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

                        Our Web Development company: 100k.studio

                        Want to tip me? https://www.paypal.com/paypalme/arminunruh

                        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
                        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