Skip to content

Disable only blade events as it crashes browser in some case? #1785

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

Open
cyppe opened this issue Apr 28, 2025 · 1 comment · May be fixed by #1786
Open

Disable only blade events as it crashes browser in some case? #1785

cyppe opened this issue Apr 28, 2025 · 1 comment · May be fixed by #1786

Comments

@cyppe
Copy link

cyppe commented Apr 28, 2025

Hello!

I wonder if there is some way to have Events enabled, but disable only blade events?

As when I use livewire components like flux it can fire easily 1000 events on a page load, and it crashes chrome in some cases (Oh snap, error code 5) so I have to disable events and then it works.

But it would be nice if it's possible to only disable blade events.

See issue: livewire/flux#1544 (comment)

So if it's not possible maybe consider it as a feature in the future?

@erikn69 erikn69 linked a pull request Apr 28, 2025 that will close this issue
@erikn69
Copy link
Contributor

erikn69 commented Apr 28, 2025

// config/debugbar.php
// options.events.excluded
'events' => [
    'data' => false,
    'exclude' => [
        'creating', 'composing'
    ],
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants