# Back key is not working even disableBackHistoryAPI :true or false does not effect

**URL:** <https://forum.webostv.developer.lge.com/t/back-key-is-not-working-even-disablebackhistoryapi-true-or-false-does-not-effect/2404>\
**Category:** Web App Development\
**Created:** [March 15, 2023, 12:56pm UTC](https://forum.webostv.developer.lge.com/t/back-key-is-not-working-even-disablebackhistoryapi-true-or-false-does-not-effect/2404 "2023-03-15T12:56:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shogtapur](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@shogtapur](https://forum.webostv.developer.lge.com/u/shogtapur)\
**Post date:** [March 15, 2023, 12:56pm UTC](https://forum.webostv.developer.lge.com/t/back-key-is-not-working-even-disablebackhistoryapi-true-or-false-does-not-effect/2404/1 "2023-03-15T12:56:48Z")

</div>

Back is not working as defined by hosted app  
disableBackHistoryAPI : true or false working same .

LG QNED 2022 model.

```auto
window.addEventListener("keydown", (event)=> console.log('back evnet')); --->> back key not hit these event listener even its globally 

only in 2022 model we are seeing this issue 

```

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [March 16, 2023, 1:04am UTC](https://forum.webostv.developer.lge.com/t/back-key-is-not-working-even-disablebackhistoryapi-true-or-false-does-not-effect/2404/2 "2023-03-16T01:04:09Z")

</div>

Can you check again with [Remote Control](https://github.com/webOS-TV-app-samples/RemoteControl) sample app? If the problem persists, please let us know. Thank you.

---

<div class="post-metadata">

**Author:** ![shogtapur](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@shogtapur](https://forum.webostv.developer.lge.com/u/shogtapur)\
**Post date:** [March 23, 2023, 6:23am UTC](https://forum.webostv.developer.lge.com/t/back-key-is-not-working-even-disablebackhistoryapi-true-or-false-does-not-effect/2404/4 "2023-03-23T06:23:07Z")

</div>

@narae0.kim thank you for reply, its not working with remote app aslo

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [March 24, 2023, 12:06am UTC](https://forum.webostv.developer.lge.com/t/back-key-is-not-working-even-disablebackhistoryapi-true-or-false-does-not-effect/2404/5 "2023-03-24T00:06:11Z")

</div>

Please check again with [Back Button Control](https://github.com/webOS-TV-app-samples/BackButtonControl) sample app.  
If the problem persists, please email us a video showing the issue and the following at [developer@lge.com](mailto:developer@lge.com):

- TV model name: (You can check this in the Settings \> General \> About This TV.)
- TV software version:
- webOS TV version: (This can be found when you click the TV model name in the About This TV menu.)
- Region:

---

<div class="post-metadata">

**Author:** ![shogtapur](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@shogtapur](https://forum.webostv.developer.lge.com/u/shogtapur)\
**Post date:** [August 11, 2023, 2:12am UTC](https://forum.webostv.developer.lge.com/t/back-key-is-not-working-even-disablebackhistoryapi-true-or-false-does-not-effect/2404/6 "2023-08-11T02:12:57Z")

</div>

Hi  
sent all details to [developer@lge.com](mailto:developer@lge.com) please let me know what is the issue

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [August 11, 2023, 6:25am UTC](https://forum.webostv.developer.lge.com/t/back-key-is-not-working-even-disablebackhistoryapi-true-or-false-does-not-effect/2404/7 "2023-08-11T06:25:49Z")

</div>

We tested the sample app on the same TV model, and it worked with no issues. To check the issue, it should be reproducible. Please make sure you are testing the original version of the sample app, as changes can cause issues. If the problem persists, please check with the Web Inspector. You can find more information in [Debug the web app](https://webostv.developer.lge.com/develop/tools/vsce-dev-guide#debug-the-web-app). Thank you.
