Skip to content

Configured hidden class and popover_destroy command are not applied correctly #187

@Katsari

Description

@Katsari

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions