mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 06:47:02 +08:00
fix(core): split view should only be dragged by the handle (#9610)
fix BS-2354 also fix AF-2096
This commit is contained in:
@@ -39,14 +39,14 @@ test('open split view', async ({ page }) => {
|
||||
'true'
|
||||
);
|
||||
|
||||
const firstDragHandel = page
|
||||
const firstDragHandle = page
|
||||
.getByTestId('split-view-panel')
|
||||
.first()
|
||||
.getByTestId('split-view-indicator');
|
||||
|
||||
await dragTo(
|
||||
page,
|
||||
firstDragHandel,
|
||||
firstDragHandle,
|
||||
page.getByTestId('split-view-panel').last(),
|
||||
'center',
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user