Metabox Height Not Expanding

Support MB Tabs Metabox Height Not Expanding

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #10672
    tsqueztsquez
    Participant

    Hi there,

    I added a few color fields to a tab area in my metabox but when I click on the color field the metabox does not expand to display it all, it just gets a scroll bar on the right:

    Is there a way to make the metabox expand with the content?

    Thanks.

    #10714
    tsqueztsquez
    Participant

    Anyone?

    #10725
    Anh TranAnh Tran
    Keymaster

    Hi Thomas,

    I'm checking and fixing it. Sorry for not letting you know.

    PS: Version 1.1.0 has fixed this. Please update.

    #10744
    tsqueztsquez
    Participant

    Again thank you so much.And again I apologize for being impatient - I just get excited about stuff...lol.

    #10745
    tsqueztsquez
    Participant

    Hi there,

    Me again. Unfortunately the metabox is not expanding the way it should. I did update to 1.1.0 and here is a screen shot of what the color field does:

    metabox not expanding

    Shouldn't it look like this:

    metabox expanded

    Thought I would let you know. Thanks again.

    #10746
    tsqueztsquez
    Participant

    OK i think I have found a solution. You need to change this

    .rwmb-color-wrapper .wp-picker-holder {position: absolute;}

    to this:

    .rwmb-color-wrapper .wp-picker-holder {position: relative;}

    makes everything work nicely. I hope this help but please tell me if I am wrong

    Thanks again.

    #10748
    Anh TranAnh Tran
    Keymaster

    Hi Thomas,

    That's the intended purpose. The color picker should act like a popup and should not change the height of the outer element (tab panel in this case). Because that might make the layout "dance" when we toggle the picker. And that's a bad experience if we're in a group.

    #10755
    tsqueztsquez
    Participant

    Ah ok I understand now and that makes perfect sense, however I need you to look at this:

    When I remove the above mentioned css this is what I get. I have a colorbox and just after it, I have a switch.

    As you can see the switch's z-index is higher than the colorbox. I have tried everything to correct the issue but I can seem to get it. Could you please correct that?

    Thanks for the answer and again all is greatly appreciated.

    #10772
    Anh TranAnh Tran
    Keymaster

    Hi Thomas,

    I've just fixed it. Please try the latest version on Github.

    #10776
    tsqueztsquez
    Participant

    Yes sir, works perfectly, thanks again.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Metabox Height Not Expanding’ is closed to new replies.