Comment 10 for bug 1812414

Revision history for this message
Galen Charlton (gmc) wrote :

I'm seeing the same thing (upon dealing with the merge conflict now that bug 1828468 is pushed). Upon inspection, it looks like the template supplied by the attribute-selected component is replacing the contents of the <a> elements in the navbar when an access key is defined.

It looks like the following might work:

- change it back to a directive
- tack the eg-confirm-dialog (or maybe an ng-template containing it) to the navbar somewhere
- add a second @Input() to the directive that accepts a TemplateRef or a ConfirmDialogComponent, and pass it to each and every element that uses the accesskey directive similar to https://stackoverflow.com/a/75542708.