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:
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 tonew-item-action
but the class that gets applied tonew-item-action
is stillhidden
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:
I had to rewrite the showPopover method to use dispose to get it to work.