Hovering over buttons in AppBar is rectangular for short time
robsch opened this issue · comments
This is also visible on the current AppBar on https://svelte-materialify.vercel.app/
Happens with Buttons in this structure:
<AppBar>
<div slot="icon">
<Button fab depressed>
<Icon path={mdiMenu} />
</Button>
</div>
...
<AppBar>
Actually, I would let the hovering effect be rectangular in the AppBar. What would be a quick fix for the current version?
btw. the buttons make problems in the dense AppBar as well.
@robsch I can't really see the first issue, what browser are you on? I see the problem on the dense one, the icon-buttons are not getting smaller.
I see this with Firefox on CentOS 8. Indeed, on my windows machine I don't see this effect in Firefox.
hmmm.. can you provide a screenshot? Seems like an interesting issue.
Here is a small video. Taken from AppBar page:
vokoscreenNG-2021-04-20_11-34-15.mp4
I've seen the same issue also within a Footer, so it is not solely related to the AppBar. Probably, it has nothing to do with the containing element. Example:
<Footer fixed padless class="justify-center flex-column">
<div class="mt-2 mb-2">
<a use:link href="/faq">
<Button text rounded>FAQ</Button>
</a>
<a use:link href="/colop">
<Button text rounded>COLOP</Button>
</a>
<a use:link href="/terms-and-conditions">
<Button text rounded>TERMS AND CONDITIONS</Button>
</a>
<a use:link href="/privacy-policy">
<Button text rounded>PRIVACY POLICY</Button>
</a>
<a use:link href="/legal-information">
<Button text rounded>LEGAL INFORMATION</Button>
</a>
</div>
</Footer>
Hm, can you see this effect on any other implementations of material? (They should use a similar approach)
Check it on Vuetify for example.
They are rectangles, but these are circles: https://vuematerial.io/components/menu/#menu-rich
I would guess it's a linux issue, maybe graphics driver bug? If it's only on centOS, might be related to that.
Never had experience with it, but it seems like it.
I see this with Firefox on CentOS 8. Indeed, on my windows machine I don't see this effect in Firefox.
Okay. CentOS is in a VM. I've tried it wihin a Fedora machine (also a VM) and there all is fine. Yes, it might has something to do with graphic drivers in combination with the VM (VMWare Fusion on a MacBook).
It might be fixable, but I'm not an expert regarding CSS and cannot do this. I'd say, svelte-materialify is not the source of the problem. You can close the issue if you don't want to do anything about it.
It's probably not even css related, is what I mean 👍
I've got that. However, it might be fixable via CSS anyway.
Egal ... 😉