Click and drag with mouse on Mac Catalyst
Is it possible to allow click to scroll on Mac, it scrolls with the wheel, but some users have a trackpad that need to be able to scroll with mouse.
Iām using Fastis via Swift Package Manager, and I wanted to customize the internal calendarView (specifically, the underlying UICollectionView) to adjust scroll behavior and gesture handling (e.g., enabling or modifying trackpad/mouse scrolling on Mac Catalyst). Currently, the calendarView property in FastisController is marked as private, which prevents me from configuring things like:
calendarView.collectionView.isScrollEnabled = true
calendarView.collectionView.delaysContentTouches = false
Can we expose calendarView as internal or public, or add a public configuration method so I can do the following:
calendarView.collectionView.isScrollEnabled = true
@UriyDevyataev Are you able to assist with this?
I believe you can just add this to your FastisController.swift file:
public extension FastisController {
var isCalendarScrollEnabled: Bool {
get { self.calendarView.isScrollEnabled }
set { self.calendarView.isScrollEnabled = newValue }
}
}