Skip to content

The same code works on Android but not on iOS. #198

Description

@vishalyad16

@jasongaare @dimadeveatii @BZaldua @josmmv @chadwilken

The same code works on Android but not on iOS.

<GuidedUI guidedUIVisible={shouldDisplayAppliedGuide && state === 'Accepted'}
placement="top"
title={You can reschedule your slot here}
currentCount={2}
totalCount={2}
handleSkip={handleAppliedGuidedUiSkip}
handleDisable={handleAppliedGuidedUiDisable}
handleNext={handleAppliedGuidedUiNext} >
{
buttonName === 'Schedule' ? (
<Tooltip
isVisible={tooltipVisible}
useInteractionManager={true}
content={



Schedule

your

interview now!


Got it

}
placement="top"
>
<CustomButton
onPress={() => {
AsyncStorage.setItem('hasSeenTooltip', 'true');
onPress();
setTooltipVisible(false);
}}
textStyle={[
style.textSmall,
{ textTransform: 'uppercase', width: 'auto', color: buttonName === 'Completed' ? colors.primary : colors.white },
]}
btnStyle={{
margin: 0,
height: 34,
width: 90,
backgroundColor: buttonName === 'Completed' ? "transparent"
: buttonName === 'Upcoming' ? colors.light_black : buttonName === "Join From Web" || buttonName === 'Fill now' ? colors.light_black : colors.primary,
}}
disabled={isCompleted || isReschedulable || isDisabled || isFromWeb}
textColor={colors.white}>
{buttonName}


) : (
<CustomButton
onPress={() => {
onPress();
setTooltipVisible(false);
}}
textStyle={[
style.textSmall,
{ textTransform: 'uppercase', width: 'auto', color: buttonName === 'Completed' ? colors.primary : colors.white },
]}
btnStyle={{
margin: 0,
height: 34,
width: 90,
backgroundColor: buttonName === 'Completed' ? "transparent"
: buttonName === 'Upcoming' ? colors.light_black : buttonName === "Join From Web" || buttonName === 'Fill now' ? colors.light_black : colors.primary,
}}
disabled={isCompleted || isReschedulable || isDisabled || isFromWeb}
textColor={colors.white}>
{buttonName}

)
}

how can i fix this still stuck for 4 days?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions