Add user no select on entries
This is so that text that appears in entries is not selectable.
This commit is contained in:
parent
cfeb438af2
commit
98cebb16db
2 changed files with 3 additions and 5 deletions
|
|
@ -80,7 +80,7 @@ export default class EntrySelector extends React.Component {
|
|||
|
||||
render(){
|
||||
return (
|
||||
<Paper id={this.props.id} className={this.props.className} zDepth={0}>
|
||||
<Paper id={this.props.id} className={this.props.className+ " noselect"} zDepth={0}>
|
||||
<Paper zDepth={0}>
|
||||
<Item
|
||||
id="search-bar"
|
||||
|
|
|
|||
|
|
@ -376,7 +376,6 @@ export default class LibraryNav extends React.Component {
|
|||
primaryText={notebook.title.trunc(14)}
|
||||
tooltip={notebook.title}
|
||||
ref={notebook.title+i}
|
||||
className="noselect"
|
||||
onTouchTap={this.noteBookTapped.bind(this, i)}
|
||||
leftIcon={
|
||||
<IconButton
|
||||
|
|
@ -405,7 +404,7 @@ export default class LibraryNav extends React.Component {
|
|||
|
||||
render(){
|
||||
return (
|
||||
<div id={this.props.id} className={this.props.className+" leftnav"} open={this.state.open}>
|
||||
<div id={this.props.id} className={this.props.className+" leftnav noselect"} open={this.state.open}>
|
||||
<SelectableList
|
||||
ref='mainList'
|
||||
className="list"
|
||||
|
|
@ -419,8 +418,7 @@ export default class LibraryNav extends React.Component {
|
|||
leftIcon={item.icon}
|
||||
rightIcon={<Badge badgeContent={item.notes} />}
|
||||
value={i}
|
||||
onTouchTap={this.menuItemClicked.bind(this, i)}
|
||||
className="noselect"/>;
|
||||
onTouchTap={this.menuItemClicked.bind(this, i)}/>;
|
||||
})}
|
||||
</SelectableList>
|
||||
<Divider />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue