callstack / callstack/react-native-paper

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

未关闭
#3,678 11 条评论 1 个 reaction 已指派 1 人 已被 @barttom 认领 在 GitHub 查看
bug Menu web
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

### 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。