cowswap icon indicating copy to clipboard operation
cowswap copied to clipboard

Unsupported token FAQ anchor link not working

Open fairlighteth opened this issue 3 years ago • 2 comments

How to re-produce:

  • Add an unsupported token 0x27dce1ec4d3f72c3e457cc50354f1f975ddef488
  • Click on the FAQ link: Screen Shot 2021-06-21 at 09 09 02
  • Should open a new page with this URL
  • On open of the page, it doesn't scroll you automatically to the right section. The same anchor link on the FAQ page does work on click.

Suggestions how to fix:

  • Need to investigate first how to support incoming anchor URL's.

Responsible code: <HashLink to={UNSUPPORTED_TOKENS_FAQ_URL} target="_blank" onClick={e => e.stopPropagation()}>

File: src/custom/components/SearchModal/CurrencyList/index.tsx L91

fairlighteth avatar Jun 21 '21 07:06 fairlighteth

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you think it shouldn't be closed, speak now or forever hold your peace.

stale[bot] avatar Mar 30 '22 13:03 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you think it shouldn't be closed, speak now or forever hold your peace.

stale[bot] avatar Jun 23 '22 04:06 stale[bot]