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

Readonly tags and position absolute #53

Open
ghost opened this issue Dec 3, 2014 · 1 comment
Open

Readonly tags and position absolute #53

ghost opened this issue Dec 3, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 3, 2014

Hi

First of all. Great job! It's an amazing plugin. Works really well, but I had an issue with the readonly tags, because of the absolute position of the css. If I have content below the tags, it overlaps over them.
The solution is to change the position: absolute for the .tags class in the css.

Buuut, if you change the tags to readonly = false, the input field appears below the tags, which is not the desired behaviour. (changing to position: absolute for this works perfect).

Then, the solution, could be using position:relative for the readonly tags, and position:absolute for the non readonly.
I solved it when rendering the readonly div, adding to the .tags div another class called readonly, and giving it in the css the position: relative.

I don't know if it's the best solution, but it works for me.

Greetings!

@maxwells
Copy link
Owner

maxwells commented Dec 4, 2014

Hi -- thanks for the feedback and detailed description of issue / resolution. I would like to incorporate your solution and will leave this issue open until I have a chance to.

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