Commit 7ba4c54
committed
Fixed intermittent deadlock issue in Android text editing when textfield is just above the fold. Issue described in this SO thread. https://stackoverflow.com/questions/49102943/textarea-malfunctions-and-the-app-hangs-cn1
Problem was that Container.isScrollableY() is context sensitive so it doesn't actually say whether the component is capable of scrolling. It only returns true if the container is capable o scrolling AND some of it is below the fold - so needs to scroll.
Also made some fixes to iOS port where it used this method with the assumption that it returned whether the container was capable of scrolling.1 parent 662c8aa commit 7ba4c54
File tree
4 files changed
+10
-2
lines changed- Ports
- Android/src/com/codename1
- impl/android
- ui
- iOSPort/src/com/codename1
- impl/ios
- ui
4 files changed
+10
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
1739 | 1740 | | |
1740 | 1741 | | |
1741 | 1742 | | |
1742 | | - | |
| 1743 | + | |
1743 | 1744 | | |
1744 | 1745 | | |
1745 | 1746 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
| 673 | + | |
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
0 commit comments