Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@contentful/f36-popover
Advanced tools
Popover is used to display some content on top of another, and should be paired with a clickable trigger element.
It is a base for other more specific component, like Menu
, Autocomplete
and Multiselect
. Please, consider using these specific componenets to cover your needs.
Menu
, Autocomplete
and Multiselect
components are not covering your use cases, you should use Popover
.Menu
, Autocomplete
, and Multiselect
for more specific use-cases and they can address your needs.onClose
callback prop. Otherwise closeOnEsc
and closeOnBlur
will not work properly.import { Popover } from '@contentful/f36-components';
// or
import { Popover } from '@contentful/f36-popover';
Popover.Trigger
.
NOTE: 🚨 Ensure that the component that you pass accepts ref
. Consider using forwardRef
for functional components.Popover.Content
If the popover contains interactive elements that user can navigate through with Tab
,
consider using react-focus-lock to trap the focus within Popover
button
for Popover.Trigger
Tab
, consider using react-focus-lock to trap the focus within PopoverPopover.Content
. If you set autoFocus
to false
, it will not move the focus.Popover.Content
, click on Esc
key will close the popover. If you set closeOnEsc
to false
, it will not close.Popover.Content
, click outside popover or blurring out will close the it. If you set closeOnBlur
to false
, it will not close.Popover.Content
and Popover.Trigger
are provided.FAQs
Forma 36: Popover component
We found that @contentful/f36-popover demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.