Skip to content

Commit e3ba5b1

Browse files
committed
Add onOpen
1 parent ce135ba commit e3ba5b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.2.12",
3+
"version": "0.2.13",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/Dropdown/Dropdown.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ export const DropdownStatusBar = ({
6363
id={id}
6464
title={title}
6565
onClick={(e: any) => {
66-
checkPosition(e.clientX);
6766
e.preventDefault();
67+
onOpen();
68+
checkPosition(e.clientX);
6869
setOpen(!open);
6970
}}
7071
text={theme.palette.text}

0 commit comments

Comments
 (0)