React Native (Expo) - useWindowDimensions().width not updated on orientation change

后端 未结 0 1527
攒了一身酷
攒了一身酷 2020-11-21 08:11

I\'m stuck with element sizes based on screen sizes when device orientation changes. Here\'s my code

import React, { useEffect, useState } from \'react\';
imp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题