-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core/dropdown): handle multiple dropdowns at once (#393)
Co-authored-by: Daniel Leroux <[email protected]>
- Loading branch information
1 parent
2a0591f
commit 4ab0246
Showing
5 changed files
with
49 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+11.9 KB
...ts-snapshots/dropdown-handle-multiple-1-chromium---theme-classic-dark-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.2 KB
...s-snapshots/dropdown-handle-multiple-1-chromium---theme-classic-light-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions
29
packages/core/src/components/dropdown/test/multiple/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2022 Siemens AG | ||
SPDX-License-Identifier: MIT | ||
--> | ||
|
||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" | ||
/> | ||
<title>Stencil Component Starter</title> | ||
</head> | ||
<body style="width: 100vw; height: 100vh"> | ||
<ix-button id="trigger-a">Open A</ix-button> | ||
<ix-button id="trigger-b">Open B</ix-button> | ||
<ix-dropdown trigger="trigger-a"> | ||
<ix-dropdown-item label="Item 1"></ix-dropdown-item> | ||
<ix-dropdown-item label="Item 2"></ix-dropdown-item> | ||
</ix-dropdown> | ||
<ix-dropdown trigger="trigger-b"> | ||
<ix-dropdown-item label="Item A"></ix-dropdown-item> | ||
<ix-dropdown-item label="Item B"></ix-dropdown-item> | ||
</ix-dropdown> | ||
<script src="http://127.0.0.1:8080/scripts/e2e/load-e2e-runtime.js"></script> | ||
</body> | ||
</html> |