Skip to content

Conversation

@martim07833
Copy link
Contributor

Closes #1710

Currently, the keyboard in the map page and in the bug report page is really slow. When clicking any text field, the keyboard has a massive delay that is linked to performance issues regarding the shadows of some widgets.
More specifically this section of the bottom navigation bar. ``

        /*shadows: [
          BoxShadow(
            color: Theme.of(context).colorScheme.shadow.withAlpha(0x7f),
            blurRadius: 5,
            offset: Offset(0, 3),
          ),
        ],  This currently makes the keyboard on the map page super buggy and slow*/

When removing this section of the code, the keyboard is loaded at a normal speed and appears to be not as buggy and slow as before. Also when removing said section the visual identity of the bottom navigation remains the same with very small to no differences.

Review checklist

  • Terms and conditions reflect the changes

View Changes

  • Description has screenshots of the UI changes.
  • Tested both in light and dark mode.
  • New text is both in portuguese (PT) and english (EN).
  • Works in different text zoom levels.
  • Works in different screen sizes.

Performance

  • No helper functions to return widgets are added. New widgets are created instead.
  • Used ListView.builder for Long Lists.
  • Controllers (TextEditingController, ...) are beeing disposed of in dispose() method.

@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60%. Comparing base (b7c9705) to head (db10268).
⚠️ Report is 23 commits behind head on develop.

❌ Your project check has failed because the head coverage (60%) is below the target coverage (70%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #1752   +/-   ##
=======================================
  Coverage       60%     60%           
=======================================
  Files            2       2           
  Lines           81      81           
=======================================
  Hits            48      48           
  Misses          33      33           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pedroafmonteiro pedroafmonteiro changed the title Bug/keyboard fix: app performance on pages with keyboard input Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate app performance on pages with keyboard input

3 participants