You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When long tapping an unselected date, the selected date deselects itself for an instant and then selects itself again. This causes the date selected indicator view to flash off, which doesn't look very good.
Additional Context
It seems that touch down gesture deselects the currently selected date, and touch up selects the new date. This seems to cause the flashing with long taps. Is this intended behavior, and if it is, is there a setting to change it?
It's hard to see in the video, but in the first part I long tap another cell and the selected cell flashes. In the second part I've disabled the long press recognizer and click down on the new date (previously selected date's indicator disappears), and when I release the click the new date is selected.
I subscribe to isSelected in the cell to set the indicator views:
Thanks, I'll look into it.
If cellState.isSelected is preferred, is there a way to access it from inside the cell's class? I haven't figured that out yet.
Thanks again!
I don't know if there's a better way, but I now pass the cellState on to the cell subclass when setting up, displaying, selecting and deselecting, and subscribe to self.cellState.isSelected in stead of self.isSelected, and it solved the problem.
Thanks!
(Required) Version Number: 8.0.2
Description
When long tapping an unselected date, the selected date deselects itself for an instant and then selects itself again. This causes the date selected indicator view to flash off, which doesn't look very good.
Additional Context
It seems that touch down gesture deselects the currently selected date, and touch up selects the new date. This seems to cause the flashing with long taps. Is this intended behavior, and if it is, is there a setting to change it?
It's hard to see in the video, but in the first part I long tap another cell and the selected cell flashes. In the second part I've disabled the long press recognizer and click down on the new date (previously selected date's indicator disappears), and when I release the click the new date is selected.
I subscribe to isSelected in the cell to set the indicator views:
The text was updated successfully, but these errors were encountered: