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]: The input is not fully visible #124

Closed
jadersbr opened this issue Oct 16, 2024 · 5 comments
Closed

[Bug]: The input is not fully visible #124

jadersbr opened this issue Oct 16, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@jadersbr
Copy link

What happened?

I don't know why, but in my application, the SelectTree is not fully visible, sometimes it is, and other times it's not. When this happens, if I refresh the screen in any way, like clicking the toggle that changes the status, then the input opens fully.

How to reproduce the bug

To reproduce, just install the plugin and configure it as follows:

SelectTree::make('parent_id')
    ->label('Categoria pai')
    ->placeholder('Selecione uma categoria')
    ->enableBranchNode()
    ->relationship(
        relationship: 'parent',
        titleAttribute: 'title',
        parentAttribute: 'parent_id',
        modifyQueryUsing: fn (Builder $query) => $query
            ->where(column: 'status', operator: '=', value: BaseStatus::ACTIVE),
    )
    ->searchable()
    ->columnSpan(6),

Package Version

3.1

PHP Version

8.2

Laravel Version

11.21

Which operating systems does with happen with?

Windows

Notes

Could you help me fix this issue? See my video:

SelectTree2.mp4
@jadersbr jadersbr added the bug Something isn't working label Oct 16, 2024
@CodeWithDennis
Copy link
Owner

Could you try to make a reproduction repository?

@CodeWithDennis CodeWithDennis closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2024
@gabyyro
Copy link

gabyyro commented Feb 19, 2025

@jadersbr Did you find a solution for this?

@CodeWithDennis
Copy link
Owner

I think its similar to #141 and not sure what is causing it.

@gabyyro
Copy link

gabyyro commented Feb 20, 2025

@CodeWithDennis I think is related to spa mode. Does not seem to be an issue if spa is disabled.

@ineffablesam
Copy link

Check this Comment
That's just a workaround for the time being i have disabled the spa mode for specific page which uses the SelectTree component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants