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

Can't see values when input is in cell of iron-data-table #29

Open
joebordes opened this issue Jul 2, 2016 · 4 comments
Open

Can't see values when input is in cell of iron-data-table #29

joebordes opened this issue Jul 2, 2016 · 4 comments

Comments

@joebordes
Copy link

Hi,

I need to use some sort of autocomplete field inside an iron-data-table cell. In general I am putting all sorts of input fields in the cells with great success but I couldn't find a typeahead component that worked. The one that best fits my needs it paper-typeahead-input (which is working very well, thanks!), but with this component the overlay is under the cell table so you can't see the values. I tried adding iron-overlay to paper-typeahead but it choked as soon as I added the behavior and I don't know enough to fix that.

I set up a plunker here: http://plnkr.co/edit/IS1thz?p=preview

If you type into the input outside the table it works correctly, if you type into the one in the cell, the dropdown opens and you can select the value if you move down with the keyboard but you can't see the values.

I'm using:

  • Polymer 1.6.0
  • paper-typeahead-input 1.3.7
  • iron-data-table 1.0.0-rc1

Note, this may not be an paper-typeahead thing so I will create the same issue on the iron-data-table repository.

Thanks for any help or enlightenment you can give.
Let me know if I can do anything to make it easier to fix the problem.

@joebordes
Copy link
Author

BTW, in another cell I have a picklist component using vaadin-combo-box and that shows the values correctly when you open the picklist

HTH

@cheonhyangzhang
Copy link
Owner

Hi @joebordes
Sorry for the delay of reply.

Are you able to solve your problems related to iron-data-table?

@joebordes
Copy link
Author

No problem at all :-)

No, I haven't been able to fix the issue. The best I could get is shown here:

http://plnkr.co/edit/eWKGAd?p=preview

I couldn't find a way to make the background not transparent and not have the row hover be on top.
In the end I was so lost I didn't know what I had changed so I solved my issue another way, but I would really love to come back to this and use paper-typeahead-input, it is exactly what I was looking for.

If there is anything I can do to help solve this let me know.

Thanks!

@cheonhyangzhang
Copy link
Owner

Okay. Got it.

I will try your scenario and see if there is any way to resolve that.

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