I noticed the new item action does not work when the hidden class in SmartListing initializer is changed.
When clicking the new item button, the configured hidden class should be removed from new-item-placeholder and added to new-item-action but the class that gets applied to new-item-action is still hidden and not the configured one. Also, it is applied to the placeholder but not removed after click.
Something similar happens when the popover_destroy command is modified like this:
config.constants :bootstrap_commands, {
popover_destroy: 'dipsose', # Bootstrap 4 requries dipsose instead of destroy
}
I had to rewrite the showPopover method to use dispose to get it to work.
I noticed the new item action does not work when the hidden class in SmartListing initializer is changed.
When clicking the new item button, the configured hidden class should be removed from
new-item-placeholderand added tonew-item-actionbut the class that gets applied tonew-item-actionis stillhiddenand not the configured one. Also, it is applied to the placeholder but not removed after click.Something similar happens when the popover_destroy command is modified like this:
I had to rewrite the showPopover method to use dispose to get it to work.