@megha-ui/react 1.2.782 → 1.2.783
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -297,6 +297,9 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
|
|
|
297
297
|
};
|
|
298
298
|
const handleClick = (e) => {
|
|
299
299
|
const clearEle = document.getElementById(clearId || "");
|
|
300
|
+
const screen = document.body.clientHeight;
|
|
301
|
+
const rect = e.currentTarget.getBoundingClientRect();
|
|
302
|
+
console.log({ screen, rect });
|
|
300
303
|
if (clearEle === e.target) {
|
|
301
304
|
e.preventDefault();
|
|
302
305
|
}
|
package/package.json
CHANGED