Skip to content
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

Input helpText is hidden by modal boundaries #20

Closed
TomSesselmann opened this issue May 9, 2017 · 1 comment
Closed

Input helpText is hidden by modal boundaries #20

TomSesselmann opened this issue May 9, 2017 · 1 comment

Comments

@TomSesselmann
Copy link

Hey guys, I know you can change the placement attribute of a Strike Tooltip, but how would I change it for the Strike Input helpText?

Or maybe the tooltip should just appear on top of everything.

screen shot 2017-05-09 at 1 57 04 pm

screen shot 2017-05-09 at 1 56 55 pm

@kevinberonilla
Copy link
Contributor

kevinberonilla commented May 9, 2017

We have plans to expose strike_tooltip's placement attribute on all form elements with helpText available (perhaps called helpTextPlacement), which may not be available for some time.

For now you have a few options: you can edit strike_input and/or strike_textarea and find the line where it calls <c:strike_input/> to hardcode a placement attribute, expose your own helpTextPlacement attribute that receives the placement value from the parent (with a default of 'top'), or you can add the .slds-is-expanded CSS class on the modal body's container to set overflow: visible; (which can be problematic due to the SLDS modal's max-height).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants