- 🇧🇪Belgium lobsterr
Tried to reproduce it on the different themes with settings without any success. Could you provide more context maybe ?
Drupal version, theme?
When user load a page in a small window on desktop, and resize it to fullscreen, mega menu columns width are not updated and are still set to 0px.
Drupal 8/9
Superfish module installed with Composer
Supersubs enabled
Here is the patch that I've set up, but it's just a patch...
/**
* Fix : force Superfish main megamenus columns widths
*/
$(document).once('forceMainMenuColumnWidths', context).each(function () {
$('#superfish-main li.sf-depth-1').mouseover(function () {
const nb_columns = $(this).find('.sf-multicolumn-wrapper ol li.sf-multicolumn-column').length;
$(this).find('.sf-multicolumn').css({'min-width': nb_columns * 208 + 'px'});
});
});
Postponed: needs info
1.4
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Tried to reproduce it on the different themes with settings without any success. Could you provide more context maybe ?
Drupal version, theme?