From aa125ac06b4465f5ed600a576be465d48518c607 Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 4 May 2020 13:07:47 +0800 Subject: [PATCH] feat(ShareSheet): improve accessibility (#6208) --- src/share-sheet/index.js | 2 ++ src/share-sheet/index.less | 9 --------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/share-sheet/index.js b/src/share-sheet/index.js index 21c8f857a..70157cec1 100644 --- a/src/share-sheet/index.js +++ b/src/share-sheet/index.js @@ -83,6 +83,8 @@ export default createComponent({
{options.map((option, index) => (
{ this.onSelect(option, index); diff --git a/src/share-sheet/index.less b/src/share-sheet/index.less index f2002f2cc..52aff2484 100644 --- a/src/share-sheet/index.less +++ b/src/share-sheet/index.less @@ -35,15 +35,6 @@ .hairline-top(@cell-border-color, @padding-md); } - // fix right-padding issue for overflow-x element - // see: https://stackoverflow.com/questions/10054870 - &::after { - display: block; - flex-shrink: 0; - width: @padding-xs; - content: ''; - } - &::-webkit-scrollbar { height: 0; }