Tooltips don't fade on mobile. Tested on Safari on iOS.
const {
Button,
Tooltip
} = CUI;
const MobileButtonTooltipNoFade = {
view: () => {
return m('', [
m(Tooltip, {
content: 'this tooltip doesn\'t fade on mobile',
trigger: m(Button, {
label: 'Button',
}),
}),
]);
}
};
document.addEventListener('DOMContentLoaded', () => {
m.route(document.body, '/', {
'/': MobileButtonTooltipNoFade
});
});
Not sure if this is intended behaviour or not. Also not sure on accepted behaviour (the Material guidelines say to display for 1.5 seconds).
Tooltips don't fade on mobile. Tested on Safari on iOS.
Not sure if this is intended behaviour or not. Also not sure on accepted behaviour (the Material guidelines say to display for 1.5 seconds).