mantinedev / mantine

A fully featured React components library
https://mantine.dev
MIT License
26.79k stars 1.9k forks source link

Polymorphic Button with next link is not working in mobile view #6998

Closed kiriti999 closed 4 weeks ago

kiriti999 commented 4 weeks ago

Dependencies check up

What version of @mantine/* packages do you have in package.json?

7.13.2

What package has an issue?

@mantine/core

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

Chrome

Describe the bug

<Button loading={loading} c="white" size={'sm'} component={Link} href="/authentication">
  Login
</Button>

The button above with link works only in desktop. In mobile view, I don't see a link rendering

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service