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

CalenderStrip dancing date, scaling issue #372

Open
ChetanPatelSS opened this issue Aug 23, 2023 · 3 comments
Open

CalenderStrip dancing date, scaling issue #372

ChetanPatelSS opened this issue Aug 23, 2023 · 3 comments

Comments

@ChetanPatelSS
Copy link

ChetanPatelSS commented Aug 23, 2023

On load of 'ReactNativeCalendarStrip' strip is dancing, can't adjust with screen width and height size. plz check the attached video.
https://drive.google.com/file/d/1piGJt_8qPuE0cbutXCc-n1kHcqlLmPmi/view?usp=sharing

                                   `<ReactNativeCalendarStrip
                                    scrollable
                                    calendarAnimation={{ type: 'sequence', duration: 10 }}
                                    daySelectionAnimation={{ type: 'background', duration: 200, highlightColor: '#9265DC' }}

                                    style={styles.calenderStripStyles}
                                    showMonth={true}
                                    dateNumberStyle={{ color: 'black' }}
                                    dateNameStyle={{ color: 'black' }}
                                    styleWeekend={true}
                                    highlightDateNameStyle={{ color: Config.Theme.COLOR_WHITE }}
                                    highlightDateNumberStyle={{ color: Config.Theme.COLOR_WHITE }}
                                    highlightDateContainerStyle={{ backgroundColor: Config.Theme.COLOR_BG_BUTTON }}
                                    minDate={minDate}                                        
                                    shouldAllowFontScaling={true}
                                    useNativeDriver={true}
                                    selectedDate={selectedDate}                                        
                                    useIsoWeekday={true}
                                />`
@avadheshdev
Copy link

@ChetanPatelSS :- Have you been able to find any workaround? I am encountering issues with Samsung's new phones.

@BogomilRusevv
Copy link

@avadheshdev I saw that styling iconContainer with a flex property fixes the issue. As the date strip is within this container

@Avi9753
Copy link

Avi9753 commented Jul 21, 2024

@BogomilRusevv Can you share sample code

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

4 participants