AFFiNE/packages/frontend
pengx17 d00f86c3ce
fix(core): handle modal overlay click event correctly (#8063)
1. overlay click + hide is brought back. this is because modal (ormobile menu)'s `onPointerDownOutside` is bound to document.body. Code in e58af08f63/packages/frontend/core/src/modules/explorer/views/tree/node.tsx (L353-L356) will stop the event from bubbling to the document element.
2. when Menu's set to modal=true, the parent is set to pointer-events: none as well. changed menu to modal false instead.

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/3e50281f-839d-4463-af00-dff2fce8202b.png)
2024-09-03 12:00:00 +00:00
..
admin chore: bump up react-day-picker version to v9 (#7559) 2024-09-03 10:28:42 +00:00
component fix(core): handle modal overlay click event correctly (#8063) 2024-09-03 12:00:00 +00:00
core fix(electron): only the active view should respond to CMD+N (#8068) 2024-09-03 11:48:06 +00:00
electron chore: bump up vitest monorepo to v2 (major) (#7449) 2024-09-03 10:02:02 +00:00
electron-api chore: bump up electron version to v32 (#7927) 2024-08-21 08:38:21 +00:00
graphql chore: bump up vitest monorepo to v2 (major) (#7449) 2024-09-03 10:02:02 +00:00
i18n chore: bump up vitest monorepo to v2 (major) (#7449) 2024-09-03 10:02:02 +00:00
mobile refactor(auth): authenticate user in main window (#8032) 2024-09-03 09:03:47 +00:00
native fix(native): return type casts (#7986) 2024-08-27 05:53:05 +00:00
templates chore: bump base version to 0.16.0 2024-08-09 18:30:07 +08:00
web feat(core): import template (#8000) 2024-08-29 04:01:35 +00:00