Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
when autocomplete is used in a block, the options are truncated and not displayed properly. see attachment. this is critical because the users cannot use this search block as they cannot see all the content.
little bit of debugging shows that setting the style for that block to
#block-myblock-1 .content{
position:absolute;
}
works but then. the rest of the blocks are not rendered properly if this style is used.
Comment | File | Size | Author |
---|---|---|---|
autocomplete.png | 9.24 KB | sukr_s |
Comments
Comment #2
JacineThe issue with this is that
overflow: hidden
is applied to.block
. Your autocomplete widget is larger than the block and anything to the bottom and right is getting hidden. You can change it to this to fix the problem:I will not change this in the theme though, because it's by design to prevent users from breaking the layout.