connors / photon

The fastest way to build beautiful Electron apps using simple HTML and CSS
photonkit.com
MIT License
10.01k stars 579 forks source link

Toolbar header not draggable #103

Open ghost opened 8 years ago

ghost commented 8 years ago

When you make a toolbar-header div, it's not draggable. It needs the -webkit-app-region: drag property in its CSS

patryk1303 commented 8 years ago

There is a helper class .draggable which you can use.

badillosoft commented 8 years ago

Here's an example:

<!-- .toolbar-header sits at the top of your app -->
<header class="toolbar toolbar-header draggable">
      <h1 class="title">Photon</h1>
</header>

Note: Look at header class: draggable

tedstriker commented 7 years ago

thanks for the hint - maybe you can add it to the example?

chiragpagaria commented 6 years ago

I want to work on this is anyone working on it or i can start @connors