I implemented this solution, and it worked perfectly without modifying any core CSS of Filament:
->extraInputAttributes(['class' => 'max-h-96', 'style' => 'overflow-y: scroll;'])