react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

Fix/hint message location

Open nitzanyiz opened this issue 11 months ago • 0 comments

Description

Fix for Hint tip and message not in same location bug. When the hint is pointing to component that is large the hint and tip are placed at different location (will probably happen when width of component is larger than 1/3 of the screen). Tip location is correct, message is not. Snippets for reproducing: Tablet:

<View flex paddingT-100>
  <Hint message={'This is a hint'} visible>
    <View width={800}>
      <Button label="Hint me"/>
    </View>
  </Hint>
</View>

Phone:

<View flex paddingT-100>
  <Hint message={'This is a hint'} visible>
    <View width={300}>
      <Button label="Hint me"/>
    </View>
  </Hint>
</View>

Changelog

Hint - Big fix where tip and message are not at same location.

Additional info

MADS-3858

nitzanyiz avatar Mar 03 '24 15:03 nitzanyiz