Refactor Timer, AccountList and AccountSelector components to use the Tooltip component.
Also extends Tooltip features by possibility to pass tooltip-box styles without the need for deep selectors and with possibility to provide custom margins to the tooltip container.
As always: see commit history for more details.
PR might be best reviewed with white-space changes disabled.
I have not reviewed this yet, but I noticed three bugs in the Tooltip as used in the Wallet:
When I hover over the trigger, and the tooltip is open, and then I click, the tooltip closes. I expect the tooltip to stay open, and even stay open when I move my mouse away after the click.
In the network map in the wallet, we display the tooltip on top of the trigger (top right). However, whenever a tooltip is first openend after being rendered, it animates from below to top.
Whenever the tooltip is opened, and it's opacity faded in, the content of the tooltip is blurry, as if it is hardware-animated. Is there maybe a transform applied whenever the tooltip is openend, that moves it into a hardware-graphic layer?
Refactor
Timer
,AccountList
andAccountSelector
components to use theTooltip
component. Also extendsTooltip
features by possibility to pass tooltip-box styles without the need for deep selectors and with possibility to provide custom margins to the tooltip container. As always: see commit history for more details. PR might be best reviewed with white-space changes disabled.