Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ibrahimbougaoua/filament-menu-scroll-fix

Now whene a user clicks on an item it sets focus on the selected item without the weird reloading and scrolling up the list . Especially if the user contains a lot of elements he would have to scroll the the selected element manually.
https://github.com/ibrahimbougaoua/filament-menu-scroll-fix

Last synced: 5 days ago
JSON representation

Now whene a user clicks on an item it sets focus on the selected item without the weird reloading and scrolling up the list . Especially if the user contains a lot of elements he would have to scroll the the selected element manually.

Awesome Lists containing this project

README

        

# Filament menu scroll fix.

[![Latest Version on Packagist](https://img.shields.io/packagist/v/ibrahimbougaoua/filament-menu-scroll-fix.svg?style=flat-square)](https://packagist.org/packages/ibrahimbougaoua/filament-menu-scroll-fix)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/ibrahimbougaoua/filament-menu-scroll-fix/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/ibrahimbougaoua/filament-menu-scroll-fix/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/ibrahimbougaoua/filament-menu-scroll-fix/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/ibrahimbougaoua/filament-menu-scroll-fix/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/ibrahimbougaoua/filament-menu-scroll-fix.svg?style=flat-square)](https://packagist.org/packages/ibrahimbougaoua/filament-menu-scroll-fix)

Now whene a user clicks on an item it sets focus on the selected item without the weird reloading and scrolling up the list, Especially if the user contains a lot of elements he would have to scroll the selected element manually.

**Before**

![](https://raw.githubusercontent.com/ibrahimBougaoua/screenshot/main/filament-menu-scroll-fix/before.gif)

**After**

![](https://raw.githubusercontent.com/ibrahimBougaoua/screenshot/main/filament-menu-scroll-fix/after.gif)

## Installation

You can install the package via composer:

```bash
composer require ibrahimbougaoua/filament-menu-scroll-fix
```

## Testing

```bash
composer test
```

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [Ibrahim](https://github.com/ibrahimBougaoua)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.