Damus
Frederik Handberg profile picture
Frederik Handberg
@Frederik Handberg
Working on fixing a classic #AppKit and #SwiftUI bug where the `NSTextView` will aggressively override the `NSCursor` to `iBeam` (which is default for textviews) even when you specify that a different cursor style should be used.



In this case, I am trying to get the `NSCursor.pointingHand` cursor to show when hovering an image attachment. For video attachments, the normal arrow cursor should show. #dev
1
Frederik Handberg · 3w
In the video, you can actually see the cursor changing to the correct cursor style for a brief moment when I hover into an image or video attachment, but then the cursor immediately changes back to the default `iBeam`.