LinkOverlay covering entire body on chrome in a Tr LinkBox on Chrome
See original GitHub issue🐛 Bug report i want a table with rows that link on click. the following code snippet produces a link that covers the entire document body in Chrome, but not in Firefox:
import React from "react";
import { Table, Thead, Tr, Th, Td, Tbody, LinkBox, LinkOverlay } from "@chakra-ui/react";
export default function App() {
return (
<Table>
<Thead>
<Tr>
<Th>Col</Th>
</Tr>
</Thead>
<Tbody>
<LinkBox as={Tr}>
<Td>
<LinkOverlay href="https://www.google.com">test</LinkOverlay>
</Td>
</LinkBox>
</Tbody>
</Table>
);
}
💥 Steps to reproduce
add a <LinkBox as={Tr}>
as your table rows and add a LinkOverlay
💻 Link to reproduction https://codesandbox.io/s/billowing-sky-myimc?file=/src/app.js
🧐 Expected behavior only the table row is clickable, not the entire page. note that this works fine on firefox
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ChromeOverlay
This is a chrome extension that creates an overlay on every tab with a partially transparent .gif or image, or a .mp4 or...
Read more >https://adguard.com/en/filter-rules.html?id=7
Note, that we only put rules that block full domains here and not URL parts (there's ... snrec.jp#$#body.tp-modal-open { overflow: visible!important; } ...
Read more >User:Octagon89098/global.css - Meta-Wiki
Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac); Google Chrome: Press Ctrl-Shift-R ......
Read more >frequent-classes - CodaLab Worksheets
... cancel 3553 response 3548 password 3545 chrome 3544 heart 3535 textfield ... pop 2690 contents 2683 triangle 2680 username 2662 tp 2652...
Read more >Untitled
Kx 125 graphics monster, Body pump fitness first, Richard singer hand surgeon. ... Triple turbo 7.3, Google chrome extensions overview, Ride hailing, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can’t get the
transform
hack to work in Safari. Is it supposed to, as mentioned above? Otherwise newer chrome and FF support position ontr
okay.Confirm. Not working on Safari