Fix bug where 'other homeserver' would unfocus
It turns out the answer to this was not all that complex: we had two nested <label>s: one for the radio button and one for the Field, which presumably causes both of them to generate click events and focus something and what ends up focused is some kind of race condition depending on, apparently, how fast you click. Notes: Fix bug where the 'other homeserver' field in the server selection dialog would become briefly focus and then unfocus when clicked.
This commit is contained in:
@@ -46,7 +46,7 @@ limitations under the License.
|
||||
width: $font-16px;
|
||||
}
|
||||
|
||||
> input[type=radio] {
|
||||
input[type=radio] {
|
||||
// Remove the OS's representation
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -112,6 +112,12 @@ limitations under the License.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_RadioButton_innerLabel {
|
||||
display: flex;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_RadioButton_outlined {
|
||||
|
||||
Reference in New Issue
Block a user