This repository was archived by the owner on Nov 9, 2024. It is now read-only.
Console warnings in tippy.js hideOnClick and trigger prop can't be specified #1106
Unanswered
destructo570
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I am using tippy headless as a wrapper and I have specified the props like this. The problem is when I specify the visible prop
the console gives me warnings saying I can't specify hideOnClick and trigger prop if I have the visible prop set to true. How do I solve this ? Although the warning don't appear in the production build but still during dev there are alot of warnings.
<Tippy placement={position} delay={delay} offset={[offset_x, offset_y]} hideOnClick={false} trigger={"focus mouseenter"} popperOptions={{ modifiers: [ { name: "arrow", options: { padding: 16, }, }, TooltipArrowPositionModifier, ], }} render={render_tooltip} {...props} > {children} </Tippy>
Beta Was this translation helpful? Give feedback.
All reactions