Skip to content

BUG: avoid_overlapped_widgets and collision wait_for_mouseup false fails  #144

Open
@timothymarois

Description

@timothymarois

Only avoids collation with one box, If you have a larger box and additional boxes, move the larger one over the others and it will only move one out of the way. Avoid overlap doesn't work as expected since the larger one overlaps ontop of the ones that do not move.

Configuration:

                widget_selector: 'li',
                widget_base_dimensions: ['auto', 110],
                autogenerate_stylesheet: true,
                avoid_overlapped_widgets : true,
                min_cols: 1,
                max_cols: 14,
                widget_margins: [5, 5],
                shift_widgets_up: false,
                shift_larger_widgets_down: false,
                move_widgets_down_only: false,
                scroll_container : '.app-main',
                resize: {
                    enabled: true,
                    // axes: 'x'
                },
                collision: {
                    wait_for_mouseup: false
                },

First load it appears to work, but then once you move an item and try again, it now allows overlapping

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions