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

Width not calculated correctly #214

Open
ForbiddenEra opened this issue Oct 26, 2019 · 1 comment
Open

Width not calculated correctly #214

ForbiddenEra opened this issue Oct 26, 2019 · 1 comment

Comments

@ForbiddenEra
Copy link

ForbiddenEra commented Oct 26, 2019

My form is using flexbox for layout, not sure that matters but..

It appears that on line 715 self.originalWidth gets set, but this is after we wrap it on line 691 which in my case is changing my width from the proper '402' (computed by flexbox) to '153'..

Moving that set to before the wrap seems to fix for me... I suppose it might also be possible to fix it by ensuring the inserted/wrapped code ends up the same width after wrapping..but that seems to defeat the purpose of saving the width anyhow, if it's just going to get changed.

Edit: setting the wrapper to match my flexbox didn't help

@ForbiddenEra
Copy link
Author

ForbiddenEra commented Oct 26, 2019

Also, between zero tags being in the field to adding one tag, the "padding-top" gets changed from 8px to 3px..moving everything up as soon as I add a tag..but returning to 8px when I remove tags..this is being set with .css() somewhere it seems.

I really like what seems to be here so far but it shouldn't be difficult to integrate or style..

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

No branches or pull requests

1 participant