Skip to content

Commit

Permalink
fix: lists no longer show a dot on IE (#2011)
Browse files Browse the repository at this point in the history
Despite having the right CSS style, for some reason it is not applied on IE until the component is repainted by the browser. Now, there are no dots already on the first load.
  • Loading branch information
vladitasev committed Jul 27, 2020
1 parent ad30db8 commit 77cabba
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions packages/fiori/src/NotificationListGroupItem.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
tabindex="{{_tabIndex}}"
dir="{{effectiveDir}}"
aria-labelledby="{{ariaLabelledBy}}"
style="list-style-type: none;"
>
<div class="ui5-nli-group-header">
<ui5-button
Expand Down
1 change: 1 addition & 0 deletions packages/fiori/src/NotificationListItem.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
tabindex="{{_tabIndex}}"
dir="{{effectiveDir}}"
aria-labelledby="{{ariaLabelledBy}}"
style="list-style-type: none;"
>
<div class="ui5-nli-actions">
{{#if showOverflow}}
Expand Down
1 change: 1 addition & 0 deletions packages/main/src/GroupHeaderListItem.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@focusout="{{_onfocusout}}"
@keydown="{{_onkeydown}}"
role="option"
style="list-style-type: none;"
>
<span class="ui5-hidden-text">{{groupHeaderText}}</span>

Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/List.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<slot></slot>

{{#if showNoDataText}}
<li id="{{_id}}-nodata" class="ui5-list-nodata" tabindex="{{noDataTabIndex}}">
<li id="{{_id}}-nodata" class="ui5-list-nodata" tabindex="{{noDataTabIndex}}" style="list-style-type: none;">
<div id="{{_id}}-nodata-text" class="ui5-list-nodata-text">
{{noDataText}}
</div>
Expand Down
1 change: 1 addition & 0 deletions packages/main/src/ListItem.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
role="{{_accInfo.role}}"
aria-expanded="{{_accInfo.ariaExpanded}}"
aria-level="{{_accInfo.ariaLevel}}"
style="list-style-type: none;"
>
{{> listItemPreContent}}

Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/TabContainer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{{this.stripPresentation}}
{{/unless}}
{{#if this.isSeparator}}
<li id="{{this._id}}" role="separator" class="{{../classes.separator}}"></li>
<li id="{{this._id}}" role="separator" class="{{../classes.separator}}" style="list-style-type: none;"></li>
{{/if}}
{{/each}}
</ul>
Expand Down
1 change: 1 addition & 0 deletions packages/main/src/TabInStrip.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
?disabled="{{this.effectiveDisabled}}"
aria-labelledby="{{this.ariaLabelledBy}}"
data-ui5-stable="{{this.stableDomRef}}"
style="list-style-type: none;"
>

{{#if this.icon}}
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/TabSeparator.hbs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<li id="{{_id}}" role="separator"></li>
<li id="{{_id}}" role="separator" style="list-style-type: none;"></li>
2 changes: 1 addition & 1 deletion packages/main/src/Timeline.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="ui5-timeline-root">
<ul class="ui5-timeline-list" role="listbox" aria-live="polite" aria-label="{{ariaLabel}}">
{{#each items}}
<li class="ui5-timeline-list-item">
<li class="ui5-timeline-list-item" style="list-style-type: none;">
<slot name="{{this._individualSlot}}"></slot>
</li>
{{/each}}
Expand Down
8 changes: 4 additions & 4 deletions packages/main/src/WheelSlider.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div
<div
id="{{this._id}}"
?disabled= "{{disabled}}"
value = "{{value}}"
Expand All @@ -25,17 +25,17 @@
{{#if _expanded}}
<ul id="{{this._id}}--items-list">
{{#each _itemsToShow}}
<li class="ui5-wheelslider-item" data-item-index="{{@index}}">{{this}}</li>
<li class="ui5-wheelslider-item" data-item-index="{{@index}}" style="list-style-type: none;">{{this}}</li>
{{/each}}
</ul>
{{else}}
<ul id="{{this._id}}--items-list">
<li class="ui5-wheelslider-item">{{value}}</li>
<li class="ui5-wheelslider-item" style="list-style-type: none;">{{value}}</li>
</ul>
{{/if}}
</div>
</div>
<div class="ui5-wheelslider-footer-block">
<ui5-button class="ui5-wheelslider-arrow" icon="navigation-down-arrow" @click={{_onArrowDown}} tabindex="-1"></ui5-button>
</div>
</div>
</div>

0 comments on commit 77cabba

Please sign in to comment.