Skip to content

Commit

Permalink
fix(ui5-radiobutton): fix focus in ie11 (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
fifoosid authored and ilhan007 committed Apr 10, 2019
1 parent 515121f commit b59abd6
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions packages/main/src/themes-next/RadioButton.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@
max-width: 100%;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
}

ui5-radiobutton {
max-width: 100%;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
}

span[data-sap-ui-wc-root] {
display: inline-block;
}

.sapMRb {
position: relative;
display: inline-flex;
display: flex;
flex-wrap: nowrap;
outline: none;
max-width: 100%;
Expand All @@ -28,13 +34,8 @@ ui5-radiobutton {
opacity: var(--sapUiContentDisabledOpacity);
}

/* Disabled on focus */
.sapMRb.sapMRbDis:focus:before {
display: none;
}

/* Focused */
.sapMRb:focus:before {
.sapMRb:not(.sapMRbDis):focus:before {
content: "";
display: block;
position: absolute;
Expand Down

0 comments on commit b59abd6

Please sign in to comment.