TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Small UI issue in Review pages

Forums > 100 Days of SwiftUI

Hi, I noticed that when my screen is narrow, as it often is when I'm using the site alongside Xcode, it's possible for the "Link copied" hws-pasteboard-toast element to hide part of the "Continue" button.

It's invisible as it uses opacity when not active, but it's still there and can block the UI. Here's what shows when I change the opacity, after wondering why I couldn't click the continue button:

Example

I think a simple fix could be to add pointer-events: none to the CSS in the hws-pasteboard-toast class rather than rely on opacity.

It's the nittiest of tiny nit-picks but might help avoid confusion.

2      

Seems to be the DIV with ID hws-pasteboard-toast that's causing the problem.

I've been using HWS+ for a year, and always thought there was something up with my browser. I was confused as to why I couldn't always fullscreen a video, or click the next topic link in the bottom-right corner of many HWS pages.

Then I inspected the HTML, and found this:

1      

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.