New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popover: add anchor
prop
#43691
Popover: add anchor
prop
#43691
Commits on Sep 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 157f8e7 - Browse repository at this point
Copy the full SHA 157f8e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c185f24 - Browse repository at this point
Copy the full SHA c185f24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76fd3f2 - Browse repository at this point
Copy the full SHA 76fd3f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28c7b18 - Browse repository at this point
Copy the full SHA 28c7b18View commit details -
Block inbetween inserter: use Popover's new anchor prop (#43693)
* BlockPopoverInbetween: refactor to use `anchor` prop * Simplify logic, use DOMRect * Add missing hook deps
Configuration menu - View commit details
-
Copy full SHA for 16e66d4 - Browse repository at this point
Copy the full SHA 16e66d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b62c02 - Browse repository at this point
Copy the full SHA 7b62c02View commit details -
Configuration menu - View commit details
-
Copy full SHA for eef3dc6 - Browse repository at this point
Copy the full SHA eef3dc6View commit details -
Block toolbar: use Popover's new anchor prop (#43692)
* Block toolbar: use anchor prop instead of anchorRef.{top,bottom} * Update packages/block-editor/src/components/block-popover/index.js Co-authored-by: Lena Morita <lena@jaguchi.com> Co-authored-by: Lena Morita <lena@jaguchi.com>
Configuration menu - View commit details
-
Copy full SHA for 1866f3f - Browse repository at this point
Copy the full SHA 1866f3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb6f2ee - Browse repository at this point
Copy the full SHA fb6f2eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e59ec1 - Browse repository at this point
Copy the full SHA 3e59ec1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c19495c - Browse repository at this point
Copy the full SHA c19495cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c342d79 - Browse repository at this point
Copy the full SHA c342d79View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3a3f61 - Browse repository at this point
Copy the full SHA c3a3f61View commit details -
BorderBoxControl: use Popover's new anchor prop (#43789)
* BorderBoxControl: use new `anchor` prop for `Popover` * Make sure anchor value is `undefined` instead of `null`
Configuration menu - View commit details
-
Copy full SHA for 03eb730 - Browse repository at this point
Copy the full SHA 03eb730View commit details -
Image URL Input: use new anchor prop for Popover (#43784)
* Image URL Input: use new anchor prop for Popover * Prevent value from being `null`
Configuration menu - View commit details
-
Copy full SHA for 33c87f1 - Browse repository at this point
Copy the full SHA 33c87f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1890ed - Browse repository at this point
Copy the full SHA d1890edView commit details -
Buttons block: use new Popover anchor prop (#43785)
* Buttons block: use new `anchor` prop for `Popover` * Prevent anchor value from being `null`
Configuration menu - View commit details
-
Copy full SHA for 044dd4a - Browse repository at this point
Copy the full SHA 044dd4aView commit details -
Navigation block: use new anchor prop for Popover (#43786)
* Navigation block: use new `anchor` prop for `Popover` * Use anchor for the Navigation submenu block too * Prevent anchor value from being `null`
Configuration menu - View commit details
-
Copy full SHA for f9fbae5 - Browse repository at this point
Copy the full SHA f9fbae5View commit details -
Post Date block: use new anchor prop for Popover (#43787)
* Post Date block: use new `anchor` prop for `Popover` * Prevent anchor value from being `null`
Configuration menu - View commit details
-
Copy full SHA for 13327ef - Browse repository at this point
Copy the full SHA 13327efView commit details -
Tooltip: refactor using Popover's new anchor prop (#43799)
* Tooltip: use Popover s new anchor prop * Use internal state to force re-renders when the anchor ref changes * Simplify code
Configuration menu - View commit details
-
Copy full SHA for a659e87 - Browse repository at this point
Copy the full SHA a659e87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4db67fc - Browse repository at this point
Copy the full SHA 4db67fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for aadd730 - Browse repository at this point
Copy the full SHA aadd730View commit details -
Edit Post: use Popover's new anchor prop (#43808)
* Edit Post: use Popover s new anchor prop * Update comment * SImplify code * Update packages/edit-post/src/components/sidebar/post-schedule/index.js Co-authored-by: Daniel Richards <daniel.richards@automattic.com> * Allow passing a `null` anchor Co-authored-by: Daniel Richards <daniel.richards@automattic.com>
Configuration menu - View commit details
-
Copy full SHA for c787c54 - Browse repository at this point
Copy the full SHA c787c54View commit details -
Refactor
useAnchorRef
and related components to work with the new P……opover `anchor` prop (#43713) * useAnchorRef: return a VirtualElement instead of a range * Update useAnchorRef usage in FormatToolbarContainer, use anchor prop * Update remaining `useAnchorRef` usages, switch to the `anchor` prop * useAnchorRef: normalize `null` returns to `undefined` as it is not a valid `anchor` value * Revert changes to native RichText component * Update docs * Allow useAnchorRef to return `null`
Configuration menu - View commit details
-
Copy full SHA for 0ac5e79 - Browse repository at this point
Copy the full SHA 0ac5e79View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9a748a - Browse repository at this point
Copy the full SHA f9a748aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc75d2f - Browse repository at this point
Copy the full SHA bc75d2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4973f4 - Browse repository at this point
Copy the full SHA b4973f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a7179f - Browse repository at this point
Copy the full SHA 7a7179fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42a72ac - Browse repository at this point
Copy the full SHA 42a72acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c76d7b - Browse repository at this point
Copy the full SHA 8c76d7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d09cbfe - Browse repository at this point
Copy the full SHA d09cbfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for dffc311 - Browse repository at this point
Copy the full SHA dffc311View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd1b771 - Browse repository at this point
Copy the full SHA dd1b771View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24c099a - Browse repository at this point
Copy the full SHA 24c099aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d11ed2 - Browse repository at this point
Copy the full SHA 1d11ed2View commit details -
Configuration menu - View commit details
-
Copy full SHA for caacb0e - Browse repository at this point
Copy the full SHA caacb0eView commit details