drawer icon indicating copy to clipboard operation
drawer copied to clipboard

Fixes Issue #108

Open BlackJohnny opened this issue 6 years ago • 7 comments

BlackJohnny avatar Oct 30 '19 16:10 BlackJohnny

Fixes Issue #108

BlackJohnny avatar Oct 30 '19 16:10 BlackJohnny

Any feedback on this? The issue is happening always, it is not just a side effect of some exotic use case.

BlackJohnny avatar Nov 12 '19 13:11 BlackJohnny

Sorry I'm on holidays. Will check soon

satya164 avatar Nov 13 '19 16:11 satya164

Hey! Can you provide a way repro #108? In the drawer code, the drawer opacity is set to 0 until we have the drawer width. It shouldn't be visible until the measurement is complete. So I'm not really sure how the PR addresses the issue.

satya164 avatar Nov 29 '19 16:11 satya164

Hey! Can you provide a way repro #108? In the drawer code, the drawer opacity is set to 0 until we have the drawer width. It shouldn't be visible until the measurement is complete. So I'm not really sure how the PR addresses the issue.

It is indeed set to 0 however when the layout event is called, the opacity as well as the position are updated, however the order is random and if the opacity goes to 1 before updating the drawer position, we get the flicker.

BlackJohnny avatar Dec 02 '19 08:12 BlackJohnny

Just checked this fix and it's not fixing problem of flickering for me:

export default createDrawerNavigator(
  {
    BottomTabNavigation,
  },
  {
    drawerType: 'slide',
    drawerPosition: 'left',
    drawerWidth: Math.round(windowWidth * 0.85),
    contentComponent: DrawerContent,
    edgeWidth: -100,
  },
);

alimek avatar Dec 16 '19 13:12 alimek

Hello 👋, this pull request has been open for more than 2 months with no activity on it. If you think this is still necessary with the latest version, please comment and ping a maintainer to get this reviewed, otherwise it will be closed automatically in 7 days.

github-actions[bot] avatar Feb 15 '20 00:02 github-actions[bot]