Angular Spa not work, html is not valid

Open
#175 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
52/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
angular, javascript

Research direction

Open the Angular SPA sample's app.component.html and inspect the nested a elements around the button and Microsoft redirect. Apply the issue's proposed element change, then verify that activating the button no longer refreshes the page and still redirects to Microsoft.

Written by the indexing model from the issue text.

Description

In angular spa sample the page 'app.component.html' has nested 'a' elements, and not works because when push button, main 'a' refresh the page before redirecto to microsoft page.

changing 'a' by 'div' works well.

Dominant language
JavaScript
Stars
63
Forks
63
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure-Samples/ms-identity-docs-code-javascript

All issues in Azure-Samples/ms-identity-docs-code-javascript

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.