frappe-ui 0.1.249 → 0.1.250

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frappe-ui",
3
- "version": "0.1.249",
3
+ "version": "0.1.250",
4
4
  "description": "A set of components and utilities for rapid UI development",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -299,11 +299,13 @@ function close() {
299
299
 
300
300
  // Unified click handling for all dropdown items
301
301
  const handleItemClick = (item: DropdownOption, event: PointerEvent) => {
302
- if (item.route) {
303
- router.push(item.route)
304
- } else if (item.onClick) {
305
- item.onClick(event)
306
- }
302
+ setTimeout(() => {
303
+ if (item.route) {
304
+ router.push(item.route)
305
+ } else if (item.onClick) {
306
+ item.onClick(event)
307
+ }
308
+ }, 75)
307
309
  }
308
310
 
309
311
  const normalizeDropdownItem = (option: DropdownOption) => {