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
Describe the bug
The menu item heights are different in rc and debug. The weird situation is that it works on iPhone 13 pro but not on 12 Pro.
UPDATE:
I investigate the source of the problem. It is cause by the FONT_SCALE multiplier in the constants.ts. If I set to 1 is works good, but I set back to const FONT_SCALE = Dimensions.get('screen').fontScale; it measure the scale size and because of that, the menuItem will be smaller.
The reason I get the font scale from the device is for accessibility. I need to calculate text heights to calculate the menu's height dynamically because some people use scaled-up fonts.
I didn't know it'll different per device or release mode. I need to investigate the issue, maybe Dimension's fontScale is acting differently. Thanks for reporting.
Describe the bug
The menu item heights are different in rc and debug. The weird situation is that it works on iPhone 13 pro but not on 12 Pro.
UPDATE:
I investigate the source of the problem. It is cause by the FONT_SCALE multiplier in the
constants.ts
. If I set to 1 is works good, but I set back toconst FONT_SCALE = Dimensions.get('screen').fontScale;
it measure the scale size and because of that, the menuItem will be smaller.To Reproduce
Screenshots
Debug
Release
Package versions
The text was updated successfully, but these errors were encountered: