Open FriedrichFroebel opened 7 years ago
Probably will add something like "gotoLabel" to InternalLinkHandler and let openLink in DefaultRequestHandlder deal with the split. One problem might be to avoid a re-load for local links, so openLink probably needs the current URL, too....First step will probably be to rename the baseUrl to url in Document, reflecting its actual current usage.
I tried to add internal hyperlinks (anchors) to my HTML file. Clicking on the hyperlink opens the same HTML file again, but does not jump to the desired anchor location.
Another strange behavior: When opening the activity, the "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy" text is shown at the top. Only after scrolling up a little bit, the hyperlink "Link to test" is visible. This does not seem to occur when clicking on the link.
My HTML file (with some lipsum text to see if clicking has an effect):
My Activity code: