Coder Social home page Coder Social logo

Comments (6)

pboivin avatar pboivin commented on July 20, 2024 2

Hey friends. Seems to be an issue with Peek and/or Livewire. At a glance, it looks like the Livewire components inside of the preview are not properly cleaned up when the preview modal is closed. I'll keep testing.

from filament-fabricator.

pboivin avatar pboivin commented on July 20, 2024 2

@Z3d0X There is now a workaround for this issue available in Peek v2.2.0.

It's documented here: pboivin/filament-peek#107

from filament-fabricator.

RibesAlexandre avatar RibesAlexandre commented on July 20, 2024 1

It works perfectly ! 👍

Great job,
Thanks you

from filament-fabricator.

Z3d0X avatar Z3d0X commented on July 20, 2024

Hi could you please provide me with a reproduction repo for this issue

from filament-fabricator.

RibesAlexandre avatar RibesAlexandre commented on July 20, 2024

Hi could you please provide me with a reproduction repo for this issue

Hi,

Of course, you can find it here : https://github.com/RibesAlexandre/FilamentFabricatorLivewireError

Thanks,
Regards,

from filament-fabricator.

pboivin avatar pboivin commented on July 20, 2024

Hi @RibesAlexandre,

I think I've got a fix for this. Can you help me test it? Here are the steps to test it on your demo repository linked above:

Switch to the 2.x branch (the fix is not yet released) :

composer require pboivin/filament-peek:"2.x-dev"

Publish the config file :

php artisan vendor:publish --tag=filament-peek-config --force

Then, configure Peek to use the new internal preview URL option :

'useInternalPreviewUrl' => true,

You also need to configure some middleware because your template makes use of the Auth facade :

'internalPreviewUrlMiddleWare' => ['web'],

That should be it. Let me know if you have any other questions.

Thanks!

EDIT: using the web middleware

from filament-fabricator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.