-
Notifications
You must be signed in to change notification settings - Fork 160
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
Option list not displaying correctly #37
Comments
|
Same problem. someone started working in one workaround for this? |
@agrass I had commented in this issue pertaining to this dropdown issue: It appears that this cannot be achieved with the current implementation of react-native. I did have an idea of adding a component at the very end of my component hierarchy, and just moving that based off of what selector is pressed, but this seems like overkill. I'm still in development and hoping the issue is fixed before Alpha. |
@alexprice91 actually it's just easy step, just add background colour to the items.js file. and the you have to make sure the Options List in the root tag. See my example:
|
Great @purnomoeko , I'm going to test your workaround. someone already solved the bad placement problem (to the right) in Android? |
@purnomoeko ah great. I am on vacation until tomorrow. I will look it tomorrow. Thanks! |
@purnomoeko I tried and this did not fix my problem. @agrass I cannot remember how I got it to work, but the android problem no longer seems to be there. |
Changing the background color of the items container works as @purnomoeko said To change the single item background works as well, here a screenshot to show it: I added a margin of 2 there (the white lines) that actually creates the same problem. So the main problem there is the padding (in addition to the transparent background of the container), the one in the method:
that creates the gap, maybe it should be set as a property? and not have any default padding/margin set. Maybe it should be the same for the items' background colours? I think the best would be to have as properties: And have default value for the colours (maybe just a white background) and padding/margin set to 0. |
Great, the other problem of the second image of @alexprice91 (bad placement problem to the right) it's fixed removing this styles that use the example |
Yeah, but I am still seeing an issue with content rendered bellow the list, being placed above the list. (Image 1). I think (Image 2) is just a styling mishap on my end. |
The text was updated successfully, but these errors were encountered: