Prevent focusing readOnly field/areas on click
This commit is contained in:
		@@ -64,6 +64,7 @@ TextArea {
 | 
			
		||||
    text: defaultText || ""
 | 
			
		||||
    opacity: enabled ? 1 : theme.disabledElementsOpacity
 | 
			
		||||
    selectByMouse: true
 | 
			
		||||
    activeFocusOnPress: ! readOnly
 | 
			
		||||
    leftPadding: theme.spacing
 | 
			
		||||
    rightPadding: leftPadding
 | 
			
		||||
    topPadding: theme.spacing / 1.5
 | 
			
		||||
 
 | 
			
		||||
@@ -52,6 +52,7 @@ TextField {
 | 
			
		||||
    text: defaultText || ""
 | 
			
		||||
    opacity: enabled ? 1 : theme.disabledElementsOpacity
 | 
			
		||||
    selectByMouse: true
 | 
			
		||||
    activeFocusOnPress: ! readOnly
 | 
			
		||||
    leftPadding: theme.spacing
 | 
			
		||||
    rightPadding: leftPadding
 | 
			
		||||
    topPadding: theme.spacing / 1.5
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user