Closed Robertght closed 1 year ago
Support References
This comment is automatically generated. Please do not edit it.
📌 SCRUBBING : RESULT
📌 FINDINGS/SCREENSHOTS/VIDEO
📌 ACTIONS
📌 Message to Author @Robertght I see that you started adding a screenshot, but it didn't work. I was not able to replicate this as shown in my findings. Can you add your screenshot/screencast so we have more info to be able to replicate this?
Sure! Here it is:
Please check the above on a mobile device.
Testing the above issues on mobile I had a related issue, leaving this open for further testing. In both Firefox and Safari the Mini Cart did not not display the item in my cart, and was formatted incorrectly:
Thanks @zachspears for including your test results! This issue (with the blank cart) looks like a separate bug than the issue originally reported - perhaps one of these?
Update - I saw the same issue on my test site; deactivating Page Optimize restored the cart contents (though they ain't pretty), so I'm thinking that's the issue you were encountering as well
📌 SCRUBBING : RESULT
📌 FINDINGS/SCREENSHOTS/VIDEO
Mini Cart
block to header in BlockbaseResults - With only one item in my cart, I have to scroll down in the cart section to view and select "Go to Checkout". With multiple products in the cart, when I first scroll down to see the "go to checkout" button, only the contents of the cart scroll, and not the entire sidebar. This results in me not being able to view the button. When I scroll down a second time, the button appears. There seems to be a
iOS Chrome (single product vs multiple products):
iOS Safari (multiple products):
📌 ACTIONS
Another report:
I could reproduce this issue on the Tsubaki
demo site: https://tsubakidemo.wpcomstaging.com/
I've helped the user above with a CSS code workaround for now:
/* Fix the issue with the Checkout button missing on the mini-cart on mobile | XXXXXX-hc/zen GH */
@media (max-width: 600px) {
.wc-block-mini-cart__title {
flex-basis: 10%;
}
.wc-block-mini-cart__items {
flex-basis: 65%;
}
.wc-block-mini-cart__footer {
flex-basis: 25%;
}
}
/* End | XXXXXX-hc/zen */
I'm not sure if the code will work for all sites, and a different media query might be necessary. Please test the code before sharing.
Context from closed duplicate
Another report (Theme: Tsubaki): 39928718-hc
Sharing CSS workaround resolved the issue.
Howdy folks, have you received new reports of this bug? I think it was fixed in https://github.com/woocommerce/woocommerce-blocks/pull/8351, so I guess we can close this issue?
Retesting today, Mini-Cart block on a Blockbase theme works as expected in both desktop and mobile responsive views:
Desktop
Mobile Responsive View
https://github.com/Automattic/wp-calypso/assets/27249804/330a0efc-f219-4cae-8184-b255a114e177
📌 ACTIONS
Quick summary
If you use a Block theme like Blockase/Attar/etc and add the Mini cart block to the nav menu the footer of that mini cart won't show up on mobile, being covered by the browser bar
Steps to reproduce
What you expected to happen
To see the entire section
What actually happened
The section was cut: ![Uploading IMG_A92B650CE41B-1.jpeg…]()
Context
5719527-zen
5697160-zen
Platform (Simple, Atomic, or both?)
Atomic
Theme-specific issue?
Block themes
Browser, operating system and other notes
No response
Reproducibility
Consistent
Severity
Some (< 50%)
Available workarounds?
No but the platform is still usable
Workaround details
Change the theme or find a CSS workaround.