Jumping header in mobile when deleting coupons

Hey guys,

On any mobile device:

1) Follow this link: https://new.botanicalcraft.com/?&discount-recur=DEEPSAVE&discount-recur-bottom=DEEPSAVE
2) Add the Subscription to the cart (so sidecart appears)
3) Remove the coupon
4) Close the sidecart

You will see when the coupon is deleted, the background jumps up, and when the sidecart is closed, it causes the header to jump down.

Any suggested fix?

image
Comments
  • fc_adamfc_adam FoxyCart Team
    @Epotratz,

    Another great catch here. There is a small bug which is re-triggering the sidecart show event when it shouldn't be when you remove a coupon. This is causing it to recalculate how the fixed elements should be positioned, but it's basing it on the already repositioned fixed elements, so it ends up wrong.

    This should be a simple fix on our side, and we'll update as soon as it's tested and live
  • Awesome. Thanks @fc_adam !
  • fc_adamfc_adam FoxyCart Team
    @Epotratz,

    Quick heads up that we've pushed out the bugfix for this issue - you shouldn't see that occurring when you remove a coupon now. Thanks for your patience while we looked into this.
  • Great. This appears to be fixed!
Sign In or Register to comment.