我正在使用 带有响应式设计的 react-grid-layout 。在我的配置中,我有两张卡(例如)-
Large screen- A (left, 6 columns), B(on A's right- 6 columns)
Medium screen-A (left, 4 columns), B(on A's right- 4 columns)
当用户在大屏幕中时,他重新排序卡片,以便
B- on the left; A- on the right
然后他缩小了屏幕
**Expected:** the order will stay B on left, A on the right, but both 4 columns width.
**Actual:** exactly as configured.
当用户返回到 Large- 时,订单符合预期。
关于如何实现我们预期的行为的任何想法?