You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
I am getting a crash in the demo app when the keyboard is used to navigate the tableview.
These are the steps to reproduce it:
In the test app, Scroll down to the last row of the table (using mouse or keyboard)
Click on any row to select it.
Keep pressing up & down keys to change the selected row. Eventually, an EXC_BAD_ACCESS in cellForRowAtIndexPath of TUITableview.m. The section number in the indexPath parameter seem to have an abnormally high value. section=10376293541730151571 , but the row number seems OK.
EDIT: After some more tests, it seems that in step 1 it's not needed to go to the end of the table.
just clicking a row in a section different to the first one, can cause the crash.
EDIT2: It seems that the problem happens only with current version in github. If i rollback to the previous version (without this commit ) it works fine.
It seems the problem is in the function - (void)selectRowAtIndexPath:(TUIFastIndexPath *)indexPath animated:(BOOL)animated scrollPosition:(TUITableViewScrollPosition)scrollPosition , and with the "oldIndexPath".
If i revert that function to the code before the commit, they keyboard works fine and it does not crash.
The text was updated successfully, but these errors were encountered:
I am getting a crash in the demo app when the keyboard is used to navigate the tableview.
These are the steps to reproduce it:
EDIT: After some more tests, it seems that in step 1 it's not needed to go to the end of the table.
just clicking a row in a section different to the first one, can cause the crash.
EDIT2: It seems that the problem happens only with current version in github. If i rollback to the previous version (without this commit ) it works fine.
It seems the problem is in the function - (void)selectRowAtIndexPath:(TUIFastIndexPath *)indexPath animated:(BOOL)animated scrollPosition:(TUITableViewScrollPosition)scrollPosition , and with the "oldIndexPath".
If i revert that function to the code before the commit, they keyboard works fine and it does not crash.
The text was updated successfully, but these errors were encountered: