RETableViewManager icon indicating copy to clipboard operation
RETableViewManager copied to clipboard

RERadioItem / RETableViewOptionsController label color bug

Open Jonge opened this issue 11 years ago • 7 comments

Whenever you repeatedly select an item from a radio item (e.g. in your example app via Forms > Radio), the selected item value label always changes to one of two colors (either black or gray). It should be either only gray or only black.

See these two screenshots for both cases. (Look at the "Radio" value label.)

ios simulator screen shot 30 9 2014 13 28 13 ios simulator screen shot 30 9 2014 13 28 21

Jonge avatar Sep 30 '14 11:09 Jonge

This also happens with REDateTimeItem. The color alternates between black and gray every time the value in the date picker is changed.

daylen avatar Jan 06 '15 08:01 daylen

Here's a video demonstration: http://cl.ly/0Y0o0R3E1s2z

I'm working on tracking this bug down. I'm currently looking at self.detailTextLabel.textColor in the RETableViewDateTimeCell, ...OptionCell, and ...PickerCell classes. Changing it to, say, [UIColor grayColor] fixes the issue.

daylen avatar Jan 08 '15 00:01 daylen

I've fixed the issue with RETableViewDateTimeCell with a kludgy hack over in my fork: https://github.com/daylen/RETableViewManager

Your issue can be fixed in a similar manner.

daylen avatar Jan 08 '15 07:01 daylen

Why don't you create a pull request?

Am 08.01.2015 um 08:04 schrieb Daylen Yang [email protected]:

I've fixed the issue with RETableViewDateTimeCell with a kludgy hack over in my fork: https://github.com/daylen/RETableViewManager

Your issue can be fixed in a similar manner.

— Reply to this email directly or view it on GitHub.

max-horvath avatar Jan 08 '15 07:01 max-horvath

Created #209. Reason why I didn't initially is because the fix is really hacky.

daylen avatar Jan 08 '15 07:01 daylen

For me this bug still occurs. I use the following pod requirement:

pod 'RETableViewManager', :head # '~> 1.5.14'

So the merge should already been pulled.

In my case I have a table with multiple RETableViewSections with fields. One of those sections has two RERadioItems. The second item have the colors like inverted: black when nothing is selected yet, gray when selected.

vdvleon avatar Feb 03 '15 12:02 vdvleon

YES,I have this issue already.Anybody can help me.Thanks.

 pod 'RETableViewManager' 

jbasttdi avatar Mar 01 '15 06:03 jbasttdi