Skip to content

md-sidenav-layout should not prevent use of position:fixed #778

Closed

Description

@Hades32

package version: Alpha5.2

md-sidenav-layout seems to work with with css transforms what in turn breaks position:fixed as this establishes a new viewport.

This makes it impossible to place floating elements inside content in this layout.

I use the content as my router-outlet (what probably many will do). In my content I want to use a floating md-fab button which I now have to place in the main application component. this sucks.

Activity

  1. AmirTugi commented on Oct 7, 2016

    @AmirTugi

    +1 Experiencing it right now

  2. sebastianhaas commented on Oct 11, 2016

    @sebastianhaas

    Confirm that this is still an issue. It's really really annoying. Even if I manage to put it outside the sidenav-layout (which is not so easy to achieve since I have to pass icon, click handler/router link etc.), the fab isn't affected by the black transparent overlay on sidenav.open() anymore which is a big visual break.

  3. petrosalema commented on Oct 13, 2016

    @petrosalema

    See also 👉🏾 #998

  4. assigned and unassigned on Apr 28, 2017
  5. safaahammoud commented on Aug 14, 2019

    @safaahammoud

    Adding z-index 1000 to the parent which has position fixed would fix the issue.

  6. angular-automatic-lock-bot commented on Sep 14, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  7. locked and limited conversation to collaborators on Sep 14, 2019
  8. added
    needs: discussion
    on Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs: discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions