David Buchanan
I've had this happen a few times actually, first happened ages ago, but never figured out what triggers it. Refreshing the page makes it go back to normal ime
1 1
Samuel
you can trigger it easily on mobile by swiping the feed as it transitions so that when it does getTabsHeight on screen mount it's wrong. not sure how the same bug would work on web though
1 2
Samuel
@samuel.fm
yeah it gets the window width once and doesn't recheck when you resize
export const isWeb = !isNative
export const isMobileWeb =
  isWeb &&
  // @ts-ignore we know window exists -prf
  global.window.matchMedia('only screen and (max-width: 1000px)')?.matches
export const isDesktopWeb = isWeb && !isMobileWeb 1 3