You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When resizing/reordering widgets in an editable Homepage, the events that fire do not send correct metadata. The events are sending the size / position the widget had before the event, not the resulting size / position.
refresh() is called before dispatching the resize/reorder events. Due to the timeout, the blocks are out of date (they are updated in resize() which is called within refresh())
Describe the bug
When resizing/reordering widgets in an editable Homepage, the events that fire do not send correct metadata. The events are sending the size / position the widget had before the event, not the resulting size / position.
To Reproduce
Expected behavior
Widget A should be at index 1 in metadata blocks array. Its x value should be 2.
Actual behavior
Widget A is at index 0 in metadata blocks array. Its x value is 0.
See similar fault in the metadata blocks when resizing a widget.
Version
Screenshots
![image](https://user-images.githubusercontent.com/1101770/106625187-bad50100-6576-11eb-9741-ce4e49e231a7.png)
Additional context
![image](https://user-images.githubusercontent.com/1101770/106625330-dcce8380-6576-11eb-9642-d5864dceb5c8.png)
Works fine on 4.35.0, https://design.infor.com/code/ids-enterprise/4.35.0/demo/components/homepage/example-editable.html
The text was updated successfully, but these errors were encountered: