Fix: AccessibleButton does not set disabled attribute (PSF-1055) (#8682)
* remove old styles for pin drop buttons Signed-off-by: Kerry Archibald <kerrya@element.io> * fully disable share location button until location is shared Signed-off-by: Kerry Archibald <kerrya@element.io> * set disabled on button Signed-off-by: Kerry Archibald <kerrya@element.io> * test AccessibleButton disabled Signed-off-by: Kerry Archibald <kerrya@element.io> * remove disbaled check in LocationPicker Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
parent
0d1bb3bd9a
commit
14cf6275d0
7 changed files with 291 additions and 9 deletions
|
@ -63,14 +63,6 @@ limitations under the License.
|
|||
&:hover, &:focus {
|
||||
border-color: $accent;
|
||||
}
|
||||
|
||||
// this style is only during active development
|
||||
// when lab is enabled but feature not fully implemented
|
||||
// pin drop option will be disabled
|
||||
&.mx_AccessibleButton_disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_ShareType_option-icon {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue