tooltips stay on page and cause issues when you clear summoners
Closed this issue · 1 comments
joshmadewell commented
We need to clean tooltips off the screen when their parent is removed from the dom. Not sure how to do this but it needs to hapen because it's confusing when you re-enter a summoner and "Jayce" shows up over "Nidalee"
Steps To Reproduce
- Click a summoner input box
- Enter a name
- Hover over anything that provides tooltip while still having summoner input box active
- Delete what was in the input box
- Press tab to trigger summoner update
What Should Happen:
Summoner or entire table should be removed from the table along with tooltips
What happens
Summoner removes from table/table removes entirely but tooltip remains.
joshmadewell commented
lawl. that was easy.
http://knockoutjs.com/documentation/custom-bindings-disposal.html