Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text is not selectable in panes #7

Closed
liamdickson opened this issue Jul 31, 2015 · 0 comments
Closed

Text is not selectable in panes #7

liamdickson opened this issue Jul 31, 2015 · 0 comments

Comments

@liamdickson
Copy link

It seems as though the mouse listeners are making so that text within the panes cannot be selected.

UPDATE: I took a look today (sorry I didn't look on Friday, I was sort of busy) and I saw that this style attribute is applied:

userSelect: 'none'

https://github.com/tomkp/react-split-pane/blob/master/src/SplitPane.js#L100

Is there a reason why selection is turned off? I can override it for my specific use, but I'm sort of curious about why this is the case. Thanks!

UPDATE 2: Okay, so it seems to cause highlighting when you drag the panes. I'm not sure if there's a way around this, but since it's somewhat of a preference thing I'll close this issue.

This was referenced Dec 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant