CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 17:39:05 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/WordPress/gutenberg.git
etag: W/"282b8fedf66e8460887135df511f49d0"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=fZPkMiSlwiOdvjO32vLCsiT7%2F3lpg60jr0%2F0%2BcElavoAJLw1DpFK8D7YALsBf8kDfgSAmi7o7imlQ3olOp9lk7D5rHn4%2BjxCAmxWfSWovhM1rjSY723koHLcEXIhMdrqZPQm%2BMojYXXDXFZSHl1gCsFnUGEck1%2FkSZ%2B%2F4Rh5EP%2Fyo9ruI55jXsjXLCGceeoETn7YeWvz7uZB9OFHQime5a1B%2BLG7pEnCJVbWo2Knc66xux9DDBQ5W6MErdLiVOnuyxzZLcRM77t40SmN22oOzw%3D%3D--9ZDKr7iIYos2Zkqj--jahHyx2jFfdYtBbxih5w6A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1840751034.1760204344; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 17:39:04 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 17:39:04 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B40A:1D4E10:8F15C1:BBBCAC:68EA9638
Popover: Add virtual padding to prevent it from hitting the viewport … · WordPress/gutenberg@feb44ab · GitHub




authored
Copy file name to clipboardExpand all lines: packages/components/CHANGELOG.md
Copy file name to clipboardExpand all lines: packages/components/src/popover/index.tsx
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit feb44ab

Popover: Add virtual padding to prevent it from hitting the viewport edge (#69555)
* feat: introduce `overflowOffset` prop to control maximum height calculation
* fix: set default value for `overflowOffset` prop in Popover component
* chore: add changelog entry
* fix: rename `overflowOffset` prop to `overflowOffsetY` for clarity
* chore: update changelog to include `overflowOffsetY` prop for Popover component
* fix: use `padding` instead of manual offset implementation
* fix: add a static `8px` overflow padding
* chore: move CHANGELOG
* chore: update unit test snapshots
* revert: restore changes made to snapshot file
* fix: update maxHeight, maxWidth to accomodate overflowPadding
* fix: remove maxWidth calculations
* fix: use `padding` within `size` middleware
* chore: move `CHANGELOG` to `Unreleased` section
Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: stokesman <presstoke@git.wordpress.org>
Co-authored-by: okmttdhr <okat@git.wordpress.org>1 parent f207be9 commit feb44abCopy full SHA for feb44ab
File tree
Expand file treeCollapse file tree
2 files changed
+13
-1
lines changedFilter options
- packages/components
- src/popover
Expand file treeCollapse file tree
2 files changed
+13
-1
lines changedCollapse file: packages/components/CHANGELOG.md
packages/components/CHANGELOG.md
Copy file name to clipboardExpand all lines: packages/components/CHANGELOG.md+1Lines changed: 1 addition & 0 deletions
- Display the source diff
- Display the rich diff
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
|
Collapse file: packages/components/src/popover/index.tsx
packages/components/src/popover/index.tsx
Copy file name to clipboardExpand all lines: packages/components/src/popover/index.tsx+12-1Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
74 | 81 |
| |
75 | 82 |
| |
76 | 83 |
| |
| |||
224 | 231 |
| |
225 | 232 |
| |
226 | 233 |
| |
| 234 | + | |
227 | 235 |
| |
228 | 236 |
| |
229 | 237 |
| |
| |||
234 | 242 |
| |
235 | 243 |
| |
236 | 244 |
| |
237 |
| - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
238 | 249 |
| |
239 | 250 |
| |
240 | 251 |
| |
|
You can’t perform that action at this time.
0 commit comments