question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

setting PopupRenderPosition seems to have no effect?

See original GitHub issue

Since the popup is obscuring some of the navigation I have on my site, I do:

services.AddMiniProfiler(opts =>
{
	opts.PopupRenderPosition = RenderPosition.BottomRight;
});

but the popup still renders top-right. Indeed, if I set to RenderPosition.Left or RenderPosition.BottomLeft neither of these is observed either. Is there something I’m missing here?

Issue Analytics

  • State:open
  • Created 8 months ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
NickCravercommented, Feb 9, 2023

Welcome! If that doesn’t help let’s dig deeper 😃

0reactions
fluffynutscommented, Feb 20, 2023

Ok, so I’ve looked into this again, and even if I take out all the attributes where I set position, and set position as anything other than RenderPosition.Right, I still get the overlay at the top right. I’ve tried RenderPosition.Left at setup time, as well as attempting to force it in the actual view, but the results still come out on the top-right, with the class name mp-right applied. I’m not sure what else to try? I have a feeling those last position attributes were from me fiddling the same some time last year and giving up - this project has been through an upgrade from asp.net mvc4 to asp.net core 7.0, so I had far more pressing concerns 😅

This is what I get, btw: image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Option for PopupRenderPosition has no effect · Issue #312
This works in the sample project - are you sure you're not overriding it downstream in the page, e.g. <mini-profiler position="@RenderPosition.
Read more >
dotnet
A simple but effective mini-profiler for ASP.NET (and Core) websites.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found