• Resolved abitofmind

    (@abitofmind)


    Reproduction

    1. Create a native gallery with 5 images.
    2. Convert it to a Slider block.
    3. Select the slider block (the container, not the slides) → Inspector → General → General
    4. Set “Auto Height” ON.

    Expected: With Items per Row = 1 the image fills the full width (=1 item / 1 row = 100%) of the parent container (=Slider block) which gets its width dimensions according to its block alignment None (=content-width, 650px in TT3) | Wide (1200px) | Full Width. The Slider container height adapts to this accordingly to the aspect ratio of the current image. Any margings/paddings ofc are considered too. When stepping through the images the slider height dynamically changes for images with a different aspect ratio.

    Actual: Nothing happens in the Block Editor environment and also the Frontend. Regardless of tinkering all related options I could think of:

    • Slider block alignment: Full | Wide | None
      ? makes no difference
      Left it with None.
    • Inspector → General → Spacing & Height:
      I tried the RESET button:
      Then the Desktop height is set to 160px (seems the default).
      Btw, there is no way to completely “unset” this value!

      I cleared the value field. It visually clears (but its data representation doesn’t as I soon learned). Clicked the breakpoint buttons. All lower ones were cleared. But as soon as you click the Desktop one it is filled with 160px again.

      ? Seems that “Auto Height” is not overriding whatever is filled here. And you can also not clear the concrete Height here.

    Environment

    • Greenshift 6.3
    • WordPress 6.2.2
    • Gutenberg plugin 15.9.1
    • TT3 theme
    • This topic was modified 1 year, 4 months ago by abitofmind.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter abitofmind

    (@abitofmind)

    “Auto Height” is the crucial basis for many other features of the slider, which therefore also do not work or misbehave. I did yet not report these but better await your response on the root feature for all this, namely Auto Height.

    Plugin Author wpsoul

    (@wpsoul)

    Auto height is making height on slider, but it doesn’t set height of inner items. So, if you have inner items, for example Container, set static height to container and you will get equal height. Also, In slider spacing, you can also set height (but again, it set it to slider wrapper and it will work as minimal height of slider, if content has more height, slider will take height of content)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Greenshift Slider Block – Auto height does nothing no matter what’ is closed to new replies.