Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NUI Issues since artifacts 12180. Cannot Type within Iframes anymore / Minified React Error? #3059

Open
Legacy-TacticalGamingInteractive opened this issue Jan 9, 2025 · 0 comments
Labels
bug ScRT: JS Issues/PRs related to the JavaScript scripting runtime ScRT: Lua Issues/PRs related to the Lua scripting runtime triage Needs a preliminary assessment to determine the urgency and required action

Comments

@Legacy-TacticalGamingInteractive
Copy link

Legacy-TacticalGamingInteractive commented Jan 9, 2025

What happened?

Since artifacts 12180 and later there has been an issue typing within iframe inside FiveM. So any CAD system for example that requires typing in some info such as a login to the CAD or maybe some tickets for a roleplay server, or questions to ask staff etc is not feasible. You can type 1-3 characters then it disables your typing until you click again, etc. I assume some kind of security change was made but this absolutely breaks any in game CAD system? Not sure what can be done about it. Any ideas?

[    781031] [    GTAProcess]        CrBrowserMain/ Uncaught Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. (https://example.com/login/login.js)
[    781031] [    GTAProcess]        CrBrowserMain/ Uncaught Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. (https://example.com/login/login.js)
[    781031] [    GTAProcess]        CrBrowserMain/ Uncaught Error: Minified React error #423; visit https://reactjs.org/docs/error-decoder.html?invariant=423 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. (https://example.com/login/login.js)

https://reactjs.org/docs/error-decoder.html?invariant=418
https://reactjs.org/docs/error-decoder.html?invariant=423

Expected result

To be able to type successfully within an iframe as before.

Reproduction steps

  • Use any tablet script at all that uses an iframe or div to display an external page. Even one secured with SSL.
  • Try to type into a login form or other text box
  • Typing now gets blocked after 2-4 characters typed and cursor disappears until you click again but same result ensues.

Test iframe source URL if you wish: https://account.sonoransoftware.com/oauth?redirectUrl=https%3A%2F%2Fsonorancad.com%2Foauth%2Fsonoran

However the above Minified React errors do not show when using Sonoran.

Importancy

Major inconvenience

Area(s)

FiveM, FXServer, ScRT: Lua, ScRT: JS

Specific version(s)

FiveM - tx: v7.3.2 | fx: b12151 | gta build 3258

Additional information

This is critical for many servers in order to have an in game CAD system.
I have tested this issue using 4 different standalone tablets by different devs.

@Legacy-TacticalGamingInteractive Legacy-TacticalGamingInteractive added bug triage Needs a preliminary assessment to determine the urgency and required action labels Jan 9, 2025
@github-actions github-actions bot added ScRT: JS Issues/PRs related to the JavaScript scripting runtime ScRT: Lua Issues/PRs related to the Lua scripting runtime labels Jan 9, 2025
@Legacy-TacticalGamingInteractive Legacy-TacticalGamingInteractive changed the title Minified React Error NUI Issues since artifacts 12180. Cannot Type within Iframes anymore / Minified React Error? Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ScRT: JS Issues/PRs related to the JavaScript scripting runtime ScRT: Lua Issues/PRs related to the Lua scripting runtime triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

1 participant