wp-shortcake / shortcake

Shortcake makes using WordPress shortcodes a piece of cake.
GNU General Public License v2.0
665 stars 144 forks source link

page_select dropdown dialog box appears detached #775

Open irsalmashhor opened 6 years ago

irsalmashhor commented 6 years ago

This seems like a new issue that surfaced with release 0.7.3, but was working in 0.7.2

The dialog for selecting a page from the page_select control seems to be appearing incorrectly and detached from the control.

image

szepeviktor commented 6 years ago

Very sorry to hear that. Do you have the default WP theme on without any plugins?

irsalmashhor commented 6 years ago

Yes I am using the twenty seventeen theme.

I've also added the "define( 'SELECT2_NOCONFLICT', true );" in my wp-config.php, and also disabled all plugins except a plugin I created to register the shortcode ui for this post element.

Just to note again that this is fine on 0.7.2

guillaumemolter commented 6 years ago

Hi, I was also able to reproduce the bug. To reproduce you need a long enough shortcode UI to have a scrollbar in the media library frame. The dropdown is initially correctly placed but it is not updated when you scroll down.

init = correctly placed

screen shot 2017-10-12 at 15 30 16

scrolled down = misaligned

screen shot 2017-10-12 at 15 30 38

szepeviktor commented 6 years ago

Seems like it is position: fixed