Fixed Second style variation menu causes issues

Russ

Well-known member
Affected version
2.3.4
We like having the style variation menu in other places outside of the footer navigation area. Some areas we've done have been the user dropdown, off-canvas, next to the search icon in the nav. I've realized though the JS appears to really only properly work if the footer one is completely removed from PAGE_CONTAINER.

  • Menu won't auto close when a new variation is selected
  • The "is-selected" won't toggle for each variation


Guessing it's to do with the approach on the JS:

Code:
const menu = document.querySelector('.js-styleVariationsMenu')
 
Last edited:
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.5).

Change log:
Support multiple variation menus when updating variations
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom