setting PopupRenderPosition seems to have no effect?
See original GitHub issueSince 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:
- Created 8 months ago
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Welcome! If that doesn’t help let’s dig deeper 😃
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 triedRenderPosition.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 namemp-right
applied. I’m not sure what else to try? I have a feeling those lastposition
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: