Delete key failing in html standalone?

Bringing your stacks to the web

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
LeProfBard
Posts: 17
Joined: Thu Mar 26, 2020 8:23 pm

Delete key failing in html standalone?

Post by LeProfBard » Sat May 02, 2020 1:37 pm

Hi,
I have several text fields that capture user input, but when saved as a standalone, the delete/backspace key (Mac) is non-functional. I've tried this in Chrome and in Firefox and will be testing it on other OS and browsers, but I need to fix this. Any suggestions?

LeProfBard
Posts: 17
Joined: Thu Mar 26, 2020 8:23 pm

Re: Delete key failing in html standalone?

Post by LeProfBard » Mon May 04, 2020 6:58 pm

To provide some additional information, the Delete key works perfectly in Safari (Mac), but fails on every other browser.

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Delete key failing in html standalone?

Post by sphere » Wed May 20, 2020 7:55 am

Best is to create a bug report for this on quality.livecode.com/, as it seems you are very clear about it.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Delete key failing in html standalone?

Post by richmond62 » Wed May 20, 2020 10:38 am

Here's a thought . . . .

(Macintosh computer)

The rawKey code for backwards delete is 65288

the rawKey Code for forwards delete is 65535

Now, were I in this sort of position I might try a work-around a bit like this:

Code: Select all

on rawKeyUp RK
if RP = 65288 then
put codePointToChar(0x65288) after field "WhateverYouCallIt"
else
pass rawKeyUp
end if
end rawKeyUp

Post Reply

Return to “HTML5”