twill icon indicating copy to clipboard operation
twill copied to clipboard

[3.x] Long sidebar on form breaks page scrolling

Open alitak opened this issue 3 years ago • 2 comments

Description

If I place more fields to sidebar than the main content, the scroll will break on the page.

Steps to reproduce

Fill these inputs to a form.blade: https://pastebin.com/2SdcQXr6 The problem occurs, if the sidebar is longer than the main form.

Expected, actual result

The page loads normally (https://alitak.hu/img/twill_3a_before.png), but if I scroll down to fill the inputs in the sidebar, the scrollbar disappears and I am unable to scroll the page (https://alitak.hu/img/twill_3a_after.png).

Versions

Twill version 3.0.0-alpha1 Laravel Version 9.28.0
PHP Version 8.1.4
Composer Version 2.3.10

alitak avatar Sep 09 '22 07:09 alitak

I think the only reliable option here is to add a controller setter to disable the fixed sidebar:

$this->disableFixedSidebar();

(This is not yet implemented).

haringsrob avatar Sep 09 '22 08:09 haringsrob

For additional context, pasting a screenshot of my response to this same issue on Discord a couple days ago:

IMG_20220909_100734

ifox avatar Sep 09 '22 08:09 ifox