mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-19 14:06:33 +02:00
Add pause after resize to fix inconsistent dropdown/dropup direction behaviour
This commit is contained in:
parent
0903934848
commit
c7976b7acd
1
.github/actions-scripts/puppeteer.js
vendored
1
.github/actions-scripts/puppeteer.js
vendored
|
@ -31,6 +31,7 @@ async function test() {
|
|||
waitUntil: 'networkidle2',
|
||||
});
|
||||
await page.setViewport({ width: 640, height: 1000 });
|
||||
await page.waitForTimeout(500); // Wait for resize to complete
|
||||
await page.click('label[for="choices-single-custom-templates"]');
|
||||
await page.keyboard.press('ArrowDown');
|
||||
await page.keyboard.press('ArrowDown');
|
||||
|
|
Loading…
Reference in a new issue