open-admin-org / open-admin

open-admin forked from z-song/laravel-ladmin. Removing jquery, now based on Bootstrap5, vanilla JS
https://open-admin.org
MIT License
250 stars 72 forks source link

Bug in DropdownActions on Click #142

Open emmanpbarrameda opened 8 months ago

emmanpbarrameda commented 8 months ago

Bug in DropdownActions on Click

Describe the bug When using DropdownActions as an action class for a grid, there's a bug. The table grid design displays the grid table in a buggy way, and the dropdown menu does not display properly. Please refer to the GIF image below.

use OpenAdmin\Admin\Grid\Displayers\Actions\DropdownActions;
$grid->setActionClass(DropdownActions::class);

GIF: 2024-01-18-01-02-31

SCREENSHOTS: image

image

Proposed Solution

  1. Correct the table layout issue when the DropdownActions button is clicked, and ensure proper display of the dropdown menu for action selection. It should be displayed correctly.

  2. Ensure that the DropdownActions button remains positioned on the right side of the grid table, even when scrolling the table horizontally from left to right or vice versa, like the behavior of the normal action.

System - Open-admin Version: Latest version - PHP Version: 8.1.12 - Laravel Version: 10.28.0 - OS: Windows 10 - Browser: Microsoft Edge

emmanpbarrameda commented 8 months ago

up @open-admin-org

emmanpbarrameda commented 7 months ago

any update?