{"action":"closed","issue":{"url":"https://api.github.com/repos/OfficeDev/office-js-docs/issues/1236","repository_url":"https://api.github.com/repos/OfficeDev/office-js-docs","labels_url":"https://api.github.com/repos/OfficeDev/office-js-docs/issues/1236/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/office-js-docs/issues/1236/comments","events_url":"https://api.github.com/repos/OfficeDev/office-js-docs/issues/1236/events","html_url":"https://github.com/OfficeDev/office-js-docs/issues/1236","id":278616551,"number":1236,"title":"Clicking an empty href “shrink” outlook web add in","user":{"login":"Hongbo-Miao","id":3375461,"avatar_url":"https://avatars2.githubusercontent.com/u/3375461?v=4","gravatar_id":"","url":"https://api.github.com/users/Hongbo-Miao","html_url":"https://github.com/Hongbo-Miao","followers_url":"https://api.github.com/users/Hongbo-Miao/followers","following_url":"https://api.github.com/users/Hongbo-Miao/following{/other_user}","gists_url":"https://api.github.com/users/Hongbo-Miao/gists{/gist_id}","starred_url":"https://api.github.com/users/Hongbo-Miao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hongbo-Miao/subscriptions","organizations_url":"https://api.github.com/users/Hongbo-Miao/orgs","repos_url":"https://api.github.com/users/Hongbo-Miao/repos","events_url":"https://api.github.com/users/Hongbo-Miao/events{/privacy}","received_events_url":"https://api.github.com/users/Hongbo-Miao/received_events","type":"User","site_admin":false},"labels":[{"id":746733421,"url":"https://api.github.com/repos/OfficeDev/office-js-docs/labels/area:%20outlook","name":"area: outlook","color":"1d76db","default":false},{"id":738164183,"url":"https://api.github.com/repos/OfficeDev/office-js-docs/labels/bug:%20product","name":"bug: product","color":"fc2929","default":false},{"id":738172441,"url":"https://api.github.com/repos/OfficeDev/office-js-docs/labels/stack%20overflow","name":"stack overflow","color":"bfd4f2","default":false},{"id":517669999,"url":"https://api.github.com/repos/OfficeDev/office-js-docs/labels/under%20investigation","name":"under investigation","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-01T22:32:43Z","updated_at":"2017-12-01T23:37:32Z","closed_at":"2017-12-01T23:37:32Z","author_association":"MEMBER","body":"Clicking an empty href “shrink” outlook web add in\r\n\r\nBelow is copy from [Stack Overflow](\r\nhttps://stackoverflow.com/questions/47584555/why-does-clicking-an-empty-href-shrink-my-outlook-web-add-in):\r\n____\r\nThis is part question, part bug report. To reproduce I created a new project \"Outlook Web Add In (C#)\" in Visual Studio 2017.\r\n\r\nThen it generates a default project. In the default project I change:\r\n\r\n    <p class=\"ms-font-xl ms-fontColor-themeDarkAlt ms-fontWeight-semilight\">All properties</p>\r\n\r\nto:\r\n\r\n    <a href=\"#\"><p class=\"ms-font-xl ms-fontColor-themeDarkAlt ms-fontWeight-semilight\">All properties</p></a>\r\n\r\nNow it gets interesting, prior to clicking the newly created link everything looks as expected:\r\n\r\n[Prior to clicking][1]\r\n\r\n\r\nBut then when I click the link all of the text in that HTML pane will shrink, more so with each subsequent click:\r\n\r\n[After clicking several times][2]\r\n\r\nNo other modifications to the default project were made other than the `<a href=\"#\"> </a>` around any given header tag. It will continue to shrink the more a user clicks.\r\n\r\nAlthough it doesn't solve my question I have also worked around the bug by changing the href statement to the following:\r\n\r\n     <a href=\"#\" onclick=\"myfunction(); return false;\">\r\n\r\nMy hypothesis is returning false is unexpected by whatever function is causing the content to reduce in size. Is this an expected behavior? \r\n\r\n  [1]: https://i.stack.imgur.com/Q5Wi9.png\r\n  [2]: https://i.stack.imgur.com/0jo2x.png"}}
{"actor":{"display_login":"Hongbo-Miao"}}