Make most text selectable
Summary: Fix long standing issue where text by default in Flipper is not selectable. Which is super annoying when working with tables, trying to copy error messages, etc etc. Wanted to fix it with ant.design, but got so annoyed by not being able to select an error I needed, that I fixed it now :-P. This diff makes all text selectable by default, and then bails out for specific elements, like section headers, button captions, the left toolbar (navigation) and top toolbar to preserve the desktop app look & feel. Fixes a popular papercut issue Changelog: All text is now selectable by default in Flipper. Reviewed By: passy Differential Revision: D22897793 fbshipit-source-id: 7bc50a987e012595956c07d1997959a5480790aa
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1e22c03c24
commit
c802215dd2
@@ -225,7 +225,6 @@ const DEFAULT_FILTERS = [
|
||||
|
||||
const HiddenScrollText = styled(Text)({
|
||||
alignSelf: 'baseline',
|
||||
userSelect: 'none',
|
||||
lineHeight: '130%',
|
||||
marginTop: 5,
|
||||
paddingBottom: 3,
|
||||
|
||||
Reference in New Issue
Block a user