AOSSIE-Org / Resonate

Clubhouse, but Open Source. A social voice platform.
GNU General Public License v3.0
171 stars 123 forks source link

Fix: Set clip behavior to antiAlias in CustomCard widget to fix splash overflow #323

Closed bhawesh2002 closed 1 month ago

bhawesh2002 commented 1 month ago

Description

Problem: When tiles on profile page are tapped the spalsh exceedes the visible boundry of the tiles.

Preview of the problem: image

Reason: CustomCard widget(from custom_card.dart) is used for creation of tiles on ProfileScreen(from profile_screen.dart).

So when the user taps the tiles the splash generated by the Inkwell of the CustomCard widget excceedes the visible boundries of the CustomCard causing overflow.

Fix: Fixed splash overflow issue by setting clipBehaviour to clip.antiAlias in Card widget of CustomCard widget.

Fixes

284: The splash radius of buttons on the profile page exceeds the border

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

The changes have been tested on android emulator(API 33 and 32) and do not cause any additional issues.

Screenshot after Fix

image

Checklist:

Maintainer Checklist

AyaNady17 commented 1 month ago

Good Work @bhawesh2002 🚀

This is good to merge will merge after the previously scheduled PR's are merged

vrundraval24 commented 1 month ago

Hey, @bhawesh2002 please resolve the merge conflicts. Then we will merge this PR.

bhawesh2002 commented 1 month ago

@vrundraval24 I have resolved the merge conflicts

vrundraval24 commented 1 month ago

Great job @bhawesh2002 🚀 We are merging this branch, keep contributing.