Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Collapsible panel with toolbar won't collapse #4749

Closed
magdicom opened this issue Aug 28, 2022 · 0 comments
Closed

Collapsible panel with toolbar won't collapse #4749

magdicom opened this issue Aug 28, 2022 · 0 comments

Comments

@magdicom
Copy link

magdicom commented Aug 28, 2022

  • Laravel Version: 9.26.1
  • Nova Version: 4.13.0
  • PHP Version: 8.1.3
  • Database Driver & Version: Mysql 8.0.28
  • Operating System and Version: Homestead, Windows 11
  • Browser type and version: Chrome 104
  • Reproduction Repository: ..

Description:

When you define a panel to display toolbar and collapsible only the toolbar will be displayed and the toggle button (arrow after panel title) won't show, hence you can't show/hide the panel.

Toolbar will only affect the toggle feature, if the panel was closed/hidden from before, there is no way to open it until you make the toolbar go away from the fields() function

Detailed steps to reproduce the issue on a fresh Nova installation:

public function fields(NovaRequest $request)
{
        return [
            Panel::make('More Fields', [
                // Fields
            ])
            ->collapsable()
            ->withToolbar(),
        ];
}

@laravel laravel locked and limited conversation to collaborators Aug 29, 2022
@crynobone crynobone converted this issue into discussion #4750 Aug 29, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant