Template10 icon indicating copy to clipboard operation
Template10 copied to clipboard

PageHeader has issues displaying secondary commands

Open oadugmore opened this issue 11 years ago • 11 comments

When you expand the PageHeader control, it cuts off secondary commands if they take up a certain amount of screen space. I've only been able to reproduce on Mobile. I've confirmed with an unmodified Template10 Minimal project. Easiest to reproduce if you put your device in landscape orientation.

oadugmore avatar Dec 04 '15 03:12 oadugmore

Hi, if you replace the page header with a command bar, it has the same behavior? Page header is just a subclass of command bar.

MichaelPetrinolis avatar Dec 04 '15 05:12 MichaelPetrinolis

No, regular command bar works fine.

oadugmore avatar Dec 04 '15 05:12 oadugmore

Hmm. Since class PageHeader: CommandBar this should not be happening.

JerryNixon avatar Dec 04 '15 18:12 JerryNixon

I have a screen shot of this from my mobile (920 running 10586). It occurs if you navigate from one page back to the page with the secondary command bar and open the command bar while the cursor is in the text box without closing the keyboard first. It will also occur on the first navigation to MainPage Subsequent menu activations do not yield the truncated menu. wp_ss_20151204_0002

mvermef avatar Dec 04 '15 18:12 mvermef

Here's a screenshot from my Icon. I tried removing the Template 10 NuGet package and re-adding it but that didn't fix the problem. wp_ss_20151204_0001

oadugmore avatar Dec 04 '15 23:12 oadugmore

I also get the same issue that @mvermef and @oadugmore get! However if you close and reopen the menu it'll work just fine! weird

HassanElZarkawy avatar Dec 05 '15 14:12 HassanElZarkawy

I am seeing this behavior as well.

callummoffat avatar Dec 07 '15 22:12 callummoffat

Please check if this PR fixes the issue

MichaelPetrinolis avatar Dec 08 '15 08:12 MichaelPetrinolis

~~#398 makes the PageHeader smoother, fixing a minor stuttering problem I was also noticing, but it does not fix the truncation issue for me.~~

EDIT: #398 fixes the issue

oadugmore avatar Dec 08 '15 18:12 oadugmore

In order to check the fix, please merge the latest from upstream in your fork and then merge the PR. Then run the minimal from the solution.

MichaelPetrinolis avatar Dec 08 '15 19:12 MichaelPetrinolis

Oh, okay -- see, I barely know how to manage NuGet packages, much less any of this GitHub sorcery -- but eventually I figured out how to merge your changes into a fork and it does appear to fix the issue. I don't know how long it usually takes to approve changes, but for what it's worth, my opinion is that this fix should be approved quickly.

oadugmore avatar Dec 09 '15 04:12 oadugmore