Links and buttons work in desktop but not mobile view #837
-
ProblemMost of our Links and Buttons apart from our NavBar links work properly in desktop mode, but not on a mobile device. In general you have to touch the left or right rim or a special spot of the Link section whereas the Submit-Button on our EditPage does not react in any way (as said only on mobile device/in mobile view!). An example: We have a transaction card component with a Link surrounding the whole card. If you click on any spot on the card in desktop view, it links to a details page. On mobile view you need to catch a certain spot on the right or left side of the component. Code for transaction cardimport React from "react"; function TransactionCard({ transaction }) {
); export default TransactionCard; import styled from "styled-components"; export const CardLink = styled(Link) export const CardContainer = styled.li export const ColorField = styled.div export const ContentContainer = styled.div export const TransactionName = styled.p export const TransactionDate = styled.p export const TransactionAmount = styled.p Link to repoFor a better overview see our budget-app repo here: https://github.com/benediktbrenk/budget-app |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Due to a small bug we had the NavBar container overlaying most of the pages' content thus deactivating the Links/Buttons. The actual NavBar which is seen on the page was a div inside the nav so that the whole NavBar container could not be seen. |
Beta Was this translation helpful? Give feedback.
-
Hi @benediktbrenk ✨ As we discussed and demonstrated live, it appears that your NavBar is covering certain areas. This issue likely stems from the |
Beta Was this translation helpful? Give feedback.
Due to a small bug we had the NavBar container overlaying most of the pages' content thus deactivating the Links/Buttons. The actual NavBar which is seen on the page was a div inside the nav so that the whole NavBar container could not be seen.