jongacnik/kirby-fields-block

Writer field in combination with Kirby-Field-Block resolves in 'invisible' options

Opened this issue · 3 comments

Hello,

When using the writer field in a block preview; not all options are visible.
Probably a z-index? I cannot seem to debug it properly because whenever I want to inspect something the whole <div> disappears.

Screenshot_2023-03-23_at_12 34 51

Screenshot 2023-03-27 at 11 16 42

Hey, thanks for flagging. Heads up, I am quite busy with other projects and won't be able to look into this for some time. Let me know if you track anything down.

p.s. Looks like this functionality will be part of core in an upcoming release of Kirby, so perhaps you can make-do until then!

@jongacnik It seems that it's an overflow problem. Adding this css in my panel.css seems to fix it but I don't know if this will harm something else within the package.

.k-block-fields-preview {
    overflow: visible !important;
}

We could remove the overflow property on .k-block-fields-preview; that seems to fix it.