You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
A 'paper-tooltip' element whose textContent is dynamically changed from empty to nonempty does not display correctly. The text is not formatted and is displayed on screen regardless of the cursor position.
Expected outcome
The dynamically populated tooltip looks identical to a static tooltip.
Actual outcome
Incorrect formatting.
<button id="refreshBtn">Refresh</button>
<paper-tooltip id="refreshTooltip" for="refreshBtn"></paper-tooltip>
<script>
document.getElementById("refreshBtn").addEventListener("click", function() {
let tooltip = document.getElementById("refreshTooltip");
tooltip.textContent = "some text after refresh";
});
</script>
Browsers Affected
Chrome
Firefox
Safari 9
Safari 8
Safari 7
Edge
IE 11
IE 10
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
A 'paper-tooltip' element whose textContent is dynamically changed from empty to nonempty does not display correctly. The text is not formatted and is displayed on screen regardless of the cursor position.
Expected outcome
The dynamically populated tooltip looks identical to a static tooltip.
Actual outcome
Incorrect formatting.
Browsers Affected
The text was updated successfully, but these errors were encountered: