Page 1 of 1

[SALESFORCE] Pressing Space key with Grid in focus throws error

Posted: Tue Sep 27, 2022 4:14 pm
by bshortland

Hi,

We found that if you select a grid so it's in focus and then hit the Space key, SalesForce throws a [NoErrorObjectAvailable] Script error.
I've attached a video and example LWC component code.

Please can someone take a look?

Thanks,
Ben


Re: [SALESFORCE] Pressing Space key with Grid in focus throws error

Posted: Wed Sep 28, 2022 8:03 am
by mats

What version are you using currently?


Re: [SALESFORCE] Pressing Space key with Grid in focus throws error

Posted: Wed Sep 28, 2022 10:40 am
by bshortland

Hi Mats,

We're using v5.1.3


Re: [SALESFORCE] Pressing Space key with Grid in focus throws error

Posted: Thu Sep 29, 2022 4:05 pm
by alex.l

Looks like we need more context, it works ok with our examples, if I applied grid config you provided.
Please post versions you used, maybe try it with our examples too?
Try to change c-bryntum-widget-host in your runnable example to

<template>
    <div class="container" lwc:dom="manual"></div>
</template>

as we use in examples. It may be relevant with it too.