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

Dapp Browser: close tab button #5532

Merged
merged 14 commits into from
Mar 19, 2024
Merged

Dapp Browser: close tab button #5532

merged 14 commits into from
Mar 19, 2024

Conversation

benisgold
Copy link
Contributor

@benisgold benisgold commented Mar 19, 2024

Fixes APP-####

What changed (plus any additional context for devs)

  • does not follow any design spec, just temp placeholder
  • also fixes empty tab scrolling
  • had to do some funky layout stuff since the tab's TouchableOpacity was blocking the close button gesture

Screen recordings / screenshots

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-03-18.at.18.16.45.mp4

What to test

Copy link
Contributor

@skylarbarrera skylarbarrera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫡

@@ -475,6 +476,20 @@ export const BrowserTab = React.memo(function BrowserTab({ tabIndex, injectedJS
<WebViewBorder enabled={IS_IOS && isDarkMode && !isOnHomepage} isActiveTab={isActiveTab} />
</Animated.View>
</TouchableWithoutFeedback>
{tabViewVisible && tabStates.length > 1 && (
<Box
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can we make this its own component

@skylarbarrera skylarbarrera merged commit 0e50972 into develop Mar 19, 2024
5 of 6 checks passed
@skylarbarrera skylarbarrera deleted the @benisgold/db-ui-fixes branch March 19, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants