I'm using `UITableView(frame: .zero, style: .grouped)` with multiple sections and dynamic heights of cells. Each section has a header.

I'm trying to scroll to the bottom of the table view

```swift
let lastSection = tableView.numberOfSections - 1
let lastIndexPath = IndexPath(row: tableView.numberOfRows(inSection: lastSection) - 1, section: lastSection)
tableView.scrollToRow(at: lastIndexPath, at: .bottom, animated: true)

```

My problem is:

when there is **only one item in the section**, the table view gets scrolled to the header instead of the item. When there is more than one item everything works well.

Additionally for the `plain` style of table view, everything is ok.