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

[BUG] Cwrapper preloader going wrong on iFrame mode #1267

Open
ruanpepe opened this issue Apr 12, 2024 · 2 comments
Open

[BUG] Cwrapper preloader going wrong on iFrame mode #1267

ruanpepe opened this issue Apr 12, 2024 · 2 comments
Labels
adminlte-bug Problem related to AdminLTE template

Comments

@ruanpepe
Copy link
Contributor

Describe the bug

The cwrapper mode preloader wile in iFrame mode shows a second menu while loading.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Enable iFrame mode
  2. Set preloader mode to 'crwapper'
  3. Open default home page
  4. See error

Expected behavior

A preloader in fullscreen only in the iFrame

Screenshots

Gente.Fina.-.Sistema.-.12.April.2024.mp4

Environment

Item Version
Laravel 11
Project v3.11.0
OS WSL ubuntu

Additional context

Maybe, check if iFrame mode is enabled before the preloader rendering is a solution.

@dfsmania
Copy link
Collaborator

Hi @ruanpepe , for what I have experimented, the iFrame mode has lots of bad visual effects and they are inherited from the underlying AdminLTE package, when they show a page embedded in the iFrame mode, the sidebar for example is removed using Javascript, but there is a transition animation that don't make it look smooth. Also, the AdminLTE package appears to be currently unmaintained , so I think we can't expect any improvements on how the i Frame mode works and we can't do much on this package to solve those issues.

Now, in relation to your problem, are you sure it's exclusively related to preloader on cwrapper mode, i.e, have you tested the same with the preloader disabled?

Also, as a workaround, you may try to increase the value in the loading_screen option of the iframe section (for example, to 2000). That way, maybe the loading screen may hide those bad visual effects that happen while loading the tab.

@dfsmania dfsmania added the adminlte-bug Problem related to AdminLTE template label Apr 12, 2024
@ruanpepe
Copy link
Contributor Author

Hi @dfsmania. How are you?

Yes. The iFrame mode is very useful, but it comes with some visual issues.

I tried now without preloader, and the behavior is still going bad. Then, i've been using the preloader with fullscreen mode and it was "hiding" the menu bug. I'll keep the preloader in fullscreen mode.

Thanks for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adminlte-bug Problem related to AdminLTE template
Projects
None yet
Development

No branches or pull requests

2 participants