callstack / callstack/react-native-paper

Menu component overflows during transition if placed on right side of screen in web

Aperta
#3,678 11 commenti 1 reazione 1 assegnatario Rivendicata da @barttom Vedi su GitHub
bug Menu web
Lingua principale
TypeScript
Stelle
14.5k
Fork
2.2k
Merge medio
5g 23h
PR unite (30g)
12

Descrizione

### Current behaviour
Click "Show menu" button and when transition happens from closed to open state, you can see horizontal scrollbar flickering which indicates that it overflows horizontally. That's probably because menu doesn't fit into screen during transition.

This issue occurs only on web but android and ios seems to work perfectly.

### Expected behaviour
It shouldn't flicker horizontal scrollbar during transition.

### How to reproduce?
Click "Show menu" button and you can see visible overflow.

### Preview
Test web version here: https://snack.expo.dev/KACFveJ4k

### What have you tried so far?
I have tried some fixes with "overflow: 'hidden'" but none seems to work

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.