Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit eebdc28

Browse files
Merge pull request #1911 from livecode/bugfix-20806
[Bug 20806] PI scroller should not intercept Home/End keys if the target is a PI field
2 parents 7375f70 + daef2d6 commit eebdc28

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Toolset/palettes/inspector/revinspectortemplate.livecodescript

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,12 @@ on rawKeyDown pKeyNum
302302
switch pKeyNum
303303
case "65360"
304304
## home
305+
if the target contains "field" then pass rawKeyDown
305306
set the vScroll of group "inspector" of me to 0
306307
break
307308
case "65367"
308309
## end
310+
if the target contains "field" then pass rawKeyDown
309311
set the vScroll of group "inspector" of me to \
310312
the formattedHeight of group "inspector" of me - the height of group "inspector" of me
311313
break

notes/bugfix-20806.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure Home and End Keys are not intercepted by the PI scroller when the target is a PI field

0 commit comments

Comments
 (0)