remix-project
remix-project copied to clipboard
address copy button added
Feature Added: Copy Address Button in Accounts Dropdown
Reason:
Previously, to copy an address, users needed to select the address, copy it, and then reselect the previous address. The goal of this feature is to streamline the process by providing a button that allows users to directly copy the address, eliminating the extra steps.
Implementation Details:
Originally this dropdown uses a html native select (which does not support any buttons inside option ). This is now replaced by react-select component. React-select allows a dropdown option to have buttons.
Code Dependability:
This new select is made to look exactly as previous one. Most classes and components used are same as previous select. The copy button is imported from remix-copy. All fonts are working perfectly.
Deploy request for remixproject pending review.
Visit the deploys page to approve it
| Name | Link |
|---|---|
| Latest commit | 8cc95a3064802d600a3ab6b7deeebaf30936e74a |
@ijlal321 linting is failing for the PR
@ijlal321 linting is failing for the PR
Got it, fixed it 👍
please check out how the custom dropdown is implemented in Environment dropdown and do not use custom styles.
Closing because of inactivity.