Skip to content

Section Header is animated  #21

@fraserscottmorrison

Description

@fraserscottmorrison

I have an SLExpandableTableView that has a couple of sections, but only one section header. When one section expands there is a strange animation where a copy of the section header moves down (then disappears) see screen shots.

The only way Ive managed to fix it is to comment out the following in - (void)expandSection:(NSInteger)section animated:(BOOL)animated in your SLExpandableTableView class

    //[self scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:section]
    //            atScrollPosition:UITableViewScrollPositionTop
    //                    animated:animated];

Not sure if this is a bug in your code or if I can do a workaround in mine... any ideas?

PS. I love this class - best expandable table view around!

screen shot 2014-06-13 at 11 41 41 am

screen shot 2014-06-13 at 11 41 59 am

screen shot 2014-06-13 at 11 42 30 am

screen shot 2014-06-13 at 11 42 44 am

screen shot 2014-06-13 at 11 42 58 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions