bannzai / bannzai/SpreadsheetView

Subviews and frozen columns scroll issue

Open
#263 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
3.5k
Forks
476
PR merge metrics
No merged PRs in 30d

Description

First, thanks for this excellent framework! no words can describe how great it is, and how much work it saved me!

I would like to have an overlay view, I'm doing it using the info from this related merged fix:
https://github.com/bannzai/SpreadsheetView/issues/33
https://github.com/bannzai/SpreadsheetView/pull/57

Please see the red vertical overlay view in this screenshot:

![image](https://user-images.githubusercontent.com/14924551/97892566-7431f980-1d30-11eb-82b1-320694cdc96c.png)

The issue is when scrolling I would like it to go below the frozen green column, can it be done using existing code, or the only way is to add this feature to the framework?

![image](https://user-images.githubusercontent.com/14924551/97892762-b8bd9500-1d30-11eb-803c-2cabfa6fbdeb.png)

Thanks!

## Expected Behavior
When adding a subview using ```spreadsheet.addSubview(myView)``` and having also a frozen column, the subview should scroll below the frozen column

## Actual Behavior
the subview scrolls to the left and appears above the frozen column

## Steps to Reproduce the Problem
1. Add a spreadsheet with 1 frozen column
2. Add normal rows and columns to the sheet
3. Add a subview to the sheet, which internally is added to the overlayView
4. Scroll the content

## Specifications

- Xcode version: 12
- iOS version: 14
- Dependency manager + version: Cocoapods 10

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.