You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the CopyButton component, the feedback tooltip seems to always be set to the bottom position, and center alignment.
Example of issue:
If we use the CopyButton near the right-side of the page, after clicking the Copy button, a scrollbar appears because of the feedback tooltip being centered and pushing text even farther to the right side.
A horizontal scrollbar appears because of the feedback tooltip.
Reproducing issue: https://codesandbox.io/s/nifty-sky-g5083?file=/src/index.js
Request is to allow developers using this component to pass-in the tooltipAlignment and tooltipPosition fields so that we can avoid this from happening.
Additional Request: It would also be nice to have a built-in tooltip for the hover-over as well
The text was updated successfully, but these errors were encountered:
When using the
CopyButton
component, thefeedback
tooltip seems to always be set to the bottom position, and center alignment.Example of issue:
If we use the
CopyButton
near the right-side of the page, after clicking the Copy button, a scrollbar appears because of the feedback tooltip being centered and pushing text even farther to the right side.A horizontal scrollbar appears because of the feedback tooltip.
Reproducing issue: https://codesandbox.io/s/nifty-sky-g5083?file=/src/index.js
Request is to allow developers using this component to pass-in the
tooltipAlignment
andtooltipPosition
fields so that we can avoid this from happening.Additional Request: It would also be nice to have a built-in tooltip for the hover-over as well
The text was updated successfully, but these errors were encountered: