JoryHogeveen/off-canvas-sidebars

Scape Theme 1.4.2 is incompatible

Closed this issue · 2 comments

Describe the bug

when using wp_body_open and wp_footer in the configuration of the plugin, Scapes build-in mobile menu breaks and no longer works as it should. It is open by default when it should be closed and the trigger to close no longer works

Steps to reproduce the behavior:

  1. Install Scape theme
  2. Create a Mobile Menu
  3. Install Off-Canvas Sidebars
  4. Use wp_body_open and wp_footer in plugin configuration
  5. echo sidebar shortcode anywhere on the page

Screenshot

error_23

Specifications

  • Plugin Version: 0.5.7
  • WordPress Version: 5.7
  • Theme: Scape
  • Browser: Chrome
  • Location of hook placement (header.php and footer.php) add_action on hook woocommerce_before_shop_loop with a custom function that echoes the shortcode there

As an update: everything works fine when using CSS2 mode.

Hi @delegacz

This is a limitation in browsers when using transform with fixed positioned items.
Unfortunately I can't fix this in the default Slidebars code, that is why I created the CSS2 legacy option.
Closing issue!

Cheers, Jory