-
Notifications
You must be signed in to change notification settings - Fork 159
limit_to_screen: true freezes browsers #237
Comments
I have made a change to how |
cannot try it on the demo site because the limit to screen setting resets when you reload the page and there is no router based navigation to trigger the same problem. My config is like this:
I currently go one item configured like this: |
Can you verify this in the latest version? Demo site should be updated |
While it does not seem to freeze - the cards do not rearrange anymore back to original on window resize. |
Back from vacation, checked again - while freeze is gone - the cards default to the left side - likely 0 0 position - when the container is smaller than nr of cols * width. (lets say w500px container, 10x 50px columns, card is on the right side, container resized to 499px, the card is reset to 0x0 position) . |
I still have freezes in some situations. This function loops forever:
I try to understand what it is doing in its steps to find a solution. ( I know that its a collision detection ) |
If the widget inside the container needs to be rearranged because the container is smaller on initial page load or component - something causes infinite loop until browser asks to kill the script.
For example a container the size of a full screen viewport and item positioned to the right side.
Make the browser windows narrow and refresh the page or navigate to a diff route then back.
It seems like it cant handle repositioning or tries to do it too early before view is ready.
The text was updated successfully, but these errors were encountered: