Skip to content

<sl-select required> alignment issue after a validation failure #1197

Answered by claviska
elidupuis asked this question in Help
Discussion options

You must be logged in to vote

I was finally able to reproduce this again thanks to @elidupuis' example. While I still can't explain exactly why it happened, adding a top and left position to the hidden .select__value-input stops it from occurring. It seems to have something to do with the absolutely-positioned element's implicit position. Setting both properties fixed it.

See f79a670 for details.

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@claviska
Comment options

@isaacag
Comment options

@elidupuis
Comment options

@claviska
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@elidupuis
Comment options

Answer selected by claviska
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants